fix wm_name for fluxbox
This commit is contained in:
parent
90fcc93d6e
commit
783a390375
3 changed files with 6 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
|||
(Format: Year/Month/Day)
|
||||
Changes for 0.9.13
|
||||
*05/05/06:
|
||||
* xrestop should now display "Fluxbox" (Simon)
|
||||
Ewmh.hh/cc
|
||||
* Fix potential segfault menu bug, thanks chenfeng (Simon)
|
||||
Menu.cc
|
||||
* Added more KeyActions to TextBox (thanx to Vadim <suhanov_vadim@mail.ru>
|
||||
|
|
|
@ -92,7 +92,7 @@ void Ewmh::initForScreen(BScreen &screen) {
|
|||
XChangeProperty(disp, wincheck, m_net_supporting_wm_check, XA_WINDOW, 32,
|
||||
PropModeReplace, (unsigned char *) &wincheck, 1);
|
||||
|
||||
XChangeProperty(disp, wincheck, m_net_wm_name, XA_STRING, 8,
|
||||
XChangeProperty(disp, wincheck, m_net_wm_name, utf8_string, 8,
|
||||
PropModeReplace, (unsigned char *) "Fluxbox", strlen("Fluxbox"));
|
||||
}
|
||||
|
||||
|
@ -794,6 +794,7 @@ void Ewmh::createAtoms() {
|
|||
m_net_wm_handled_icons = XInternAtom(disp, "_NET_WM_HANDLED_ICONS", False);
|
||||
|
||||
m_net_wm_ping = XInternAtom(disp, "_NET_WM_PING", False);
|
||||
utf8_string = XInternAtom(disp, "UTF8_STRING", False);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -122,6 +122,8 @@ private:
|
|||
// application protocols
|
||||
Atom m_net_wm_ping;
|
||||
|
||||
Atom utf8_string;
|
||||
|
||||
std::vector<Window> m_windows;
|
||||
typedef std::map<FluxboxWindow *, WindowState *> SavedState;
|
||||
SavedState m_savedstate;
|
||||
|
|
Loading…
Reference in a new issue