about summary refs log tree commit diff
path: root/exwm-layout.el
diff options
context:
space:
mode:
authorAdrián Medraño Calvo <adrian@medranocalvo.com>2021-10-30T00·00+0000
committerAdrián Medraño Calvo <adrian@medranocalvo.com>2021-10-30T00·00+0000
commit571ca227e7857b5fd95f4f3211d471083d69ec32 (patch)
treefc80aa2e325cec5b152d5fc0e3540d7a71f10c8a /exwm-layout.el
parent1bc66b6438d7b62012de18c6a1a6992270f4e54c (diff)
Remove duplicate code
* exwm-layout.el (exwm-layout-unset-fullscreen): Remove double
removal of `xcb:Atom:_NET_WM_STATE_FULLSCREEN' from
`exwm--ewmh-state'.
Diffstat (limited to 'exwm-layout.el')
-rw-r--r--exwm-layout.el2
1 files changed, 0 insertions, 2 deletions
diff --git a/exwm-layout.el b/exwm-layout.el
index 6a63be33d4..4b6e2a8f66 100644
--- a/exwm-layout.el
+++ b/exwm-layout.el
@@ -219,8 +219,6 @@
                (exwm-layout--fullscreen-p))
     (cl-return-from exwm-layout-unset-fullscreen))
   (with-current-buffer (if id (exwm--id->buffer id) (window-buffer))
-    (setq exwm--ewmh-state
-          (delq xcb:Atom:_NET_WM_STATE_FULLSCREEN exwm--ewmh-state))
     (if exwm--floating-frame
         (exwm-layout--show exwm--id (frame-root-window exwm--floating-frame))
       (xcb:+request exwm--connection