about summary refs log tree commit diff
path: root/exwm.el
diff options
context:
space:
mode:
authorAdrián Medraño Calvo <adrian@medranocalvo.com>2020-04-15T00·00+0000
committerAdrián Medraño Calvo <adrian@medranocalvo.com>2020-04-15T00·00+0000
commit007916c64763b53f37fb7c759a145857f63c1c76 (patch)
treeda1c5981429f7a3e5f89d0ad5bce4f5eb2afad93 /exwm.el
parent95d6aa96cfaac1a3b474ca16bac70945ad909b01 (diff)
Fix window manager name
	* exwm.el (exwm--init-icccm-ewmh): Correct _NET_WM_NAME to the
	name of the window manager on the _NET_SUPPORTING_WM_CHECK.
Diffstat (limited to 'exwm.el')
-rw-r--r--exwm.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/exwm.el b/exwm.el
index 09192faec4cb..e94b283a631c 100644
--- a/exwm.el
+++ b/exwm.el
@@ -730,10 +730,11 @@
                        :visual 0
                        :value-mask xcb:CW:OverrideRedirect
                        :override-redirect 1))
-    ;; Set _NET_WM_NAME
+    ;; Set _NET_WM_NAME.  Must be set to the name of the window manager, as
+    ;; required by wm-spec.
     (xcb:+request exwm--connection
         (make-instance 'xcb:ewmh:set-_NET_WM_NAME
-                       :window new-id :data "EXWM: exwm--guide-window"))
+                       :window new-id :data "EXWM"))
     (dolist (i (list exwm--root new-id))
       ;; Set _NET_SUPPORTING_WM_CHECK
       (xcb:+request exwm--connection