about summary refs log tree commit diff
path: root/exwm.el
diff options
context:
space:
mode:
authorChris Feng <chris.w.feng@gmail.com>2016-08-15T10·42+0800
committerChris Feng <chris.w.feng@gmail.com>2016-08-15T10·42+0800
commit9ff99d63281ced50a34fa803e8cc48633c1f8449 (patch)
treee36607a454cc996ecd0fe7172f8b69ae6ffcd84b /exwm.el
parentd8940d1fe63c28ffd4c2fa604b12ed843c3c46d1 (diff)
Do not set _NET_WORKAREA
* exwm-workspace.el (exwm-workspace--update-workareas): Do not set
_NET_WORKAREA.
* exwm.el (exwm--init-icccm-ewmh, exwm--exit-icccm-ewmh): Remove
_NET_WORKAREA from the supported list.
Diffstat (limited to 'exwm.el')
-rw-r--r--exwm.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/exwm.el b/exwm.el
index de45f4f1f324..293072c9f90d 100644
--- a/exwm.el
+++ b/exwm.el
@@ -273,7 +273,7 @@
             (setcdr pair struts)
           (push (cons id struts) exwm-workspace--id-struts-alist))
         (exwm-workspace--update-struts))
-      ;; Update workareas and set _NET_WORKAREA.
+      ;; Update workareas.
       (exwm-workspace--update-workareas)
       ;; Update workspaces.
       (dolist (f exwm-workspace--list)
@@ -292,7 +292,7 @@
           (setcdr pair struts)
         (push (cons id struts) exwm-workspace--id-struts-alist))
       (exwm-workspace--update-struts))
-    ;; Update workareas and set _NET_WORKAREA.
+    ;; Update workareas.
     (exwm-workspace--update-workareas)
     ;; Update workspaces.
     (dolist (f exwm-workspace--list)
@@ -520,7 +520,7 @@
                             xcb:Atom:_NET_CURRENT_DESKTOP
                             ;; xcb:Atom:_NET_DESKTOP_NAMES
                             xcb:Atom:_NET_ACTIVE_WINDOW
-                            xcb:Atom:_NET_WORKAREA
+                            ;; xcb:Atom:_NET_WORKAREA
                             xcb:Atom:_NET_SUPPORTING_WM_CHECK
                             xcb:Atom:_NET_VIRTUAL_ROOTS
                             ;; xcb:Atom:_NET_DESKTOP_LAYOUT
@@ -648,7 +648,6 @@
               xcb:Atom:_NET_DESKTOP_VIEWPORT
               xcb:Atom:_NET_CURRENT_DESKTOP
               xcb:Atom:_NET_ACTIVE_WINDOW
-              xcb:Atom:_NET_WORKAREA
               xcb:Atom:_NET_SUPPORTING_WM_CHECK
               xcb:Atom:_NET_VIRTUAL_ROOTS
               ;; TODO: Keep this list synchronized with that in