fix wm_name for fluxbox
simonb simonb
3 files changed,
6 insertions(+),
1 deletions(-)
M
src/Ewmh.cc
→
src/Ewmh.cc
@@ -92,7 +92,7 @@ PropModeReplace, (unsigned char *) &wincheck, 1);
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 @@ m_net_wm_pid = XInternAtom(disp, "_NET_WM_PID", False);
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); }
M
src/Ewmh.hh
→
src/Ewmh.hh
@@ -122,6 +122,8 @@
// application protocols Atom m_net_wm_ping; + Atom utf8_string; + std::vector<Window> m_windows; typedef std::map<FluxboxWindow *, WindowState *> SavedState; SavedState m_savedstate;