Add enum entry for the escape code of changing session icon

wilder-portage
Jekyll Wu 14 years ago
parent aa29872046
commit 38e6f89e4a
  1. 2
      src/Session.cpp
  2. 1
      src/Session.h

@ -528,7 +528,7 @@ void Session::setUserTitle(int what, const QString& caption)
It is from a commit from 2004 c20973eca8776f9b4f15bee5fdcb5a3205aa69de
*/
// change icon via \033]32;Icon\007
if (what == 32) {
if (what == SessionIcon) {
if (_iconName != caption) {
_iconName = caption;

@ -347,6 +347,7 @@ public:
TextColor = 10,
BackgroundColor = 11,
SessionName = 30, // Non-standard
SessionIcon = 32, // Non-standard
ProfileChange = 50 // this clashes with Xterm's font change command
};

Loading…
Cancel
Save