aboutsummaryrefslogtreecommitdiff
path: root/src/Ewmh.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ewmh.cc')
-rw-r--r--src/Ewmh.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Ewmh.cc b/src/Ewmh.cc
index d6ccf36..843b8d2 100644
--- a/src/Ewmh.cc
+++ b/src/Ewmh.cc
@@ -92,7 +92,7 @@ void Ewmh::initForScreen(BScreen &screen) {
92 XChangeProperty(disp, wincheck, m_net_supporting_wm_check, XA_WINDOW, 32, 92 XChangeProperty(disp, wincheck, m_net_supporting_wm_check, XA_WINDOW, 32,
93 PropModeReplace, (unsigned char *) &wincheck, 1); 93 PropModeReplace, (unsigned char *) &wincheck, 1);
94 94
95 XChangeProperty(disp, wincheck, m_net_wm_name, XA_STRING, 8, 95 XChangeProperty(disp, wincheck, m_net_wm_name, utf8_string, 8,
96 PropModeReplace, (unsigned char *) "Fluxbox", strlen("Fluxbox")); 96 PropModeReplace, (unsigned char *) "Fluxbox", strlen("Fluxbox"));
97 } 97 }
98 98
@@ -794,6 +794,7 @@ void Ewmh::createAtoms() {
794 m_net_wm_handled_icons = XInternAtom(disp, "_NET_WM_HANDLED_ICONS", False); 794 m_net_wm_handled_icons = XInternAtom(disp, "_NET_WM_HANDLED_ICONS", False);
795 795
796 m_net_wm_ping = XInternAtom(disp, "_NET_WM_PING", False); 796 m_net_wm_ping = XInternAtom(disp, "_NET_WM_PING", False);
797 utf8_string = XInternAtom(disp, "UTF8_STRING", False);
797} 798}
798 799
799 800