about summary refs log tree commit diff
path: root/exwm-manage.el
diff options
context:
space:
mode:
authorChris Feng <chris.w.feng@gmail.com>2018-02-20T14·09+0800
committerChris Feng <chris.w.feng@gmail.com>2018-02-20T14·09+0800
commitbfa35c0e388e5b4daf27aa162ecb6323f7716c85 (patch)
tree3bade9bc3dd631c81db6081ac612953d04a878a1 /exwm-manage.el
parent7d4c57a6abc6bc724beaffb9d4f91971f9a62426 (diff)
Remove redundant code for fullscreen mode
* exwm-manage.el (exwm-manage--unmanage-window)
(exwm--on-ClientMessage): No need to modify workspace when an X window
enters/leaves fullscreen mode.
Diffstat (limited to 'exwm-manage.el')
-rw-r--r--exwm-manage.el3
1 files changed, 0 insertions, 3 deletions
diff --git a/exwm-manage.el b/exwm-manage.el
index dd7c2e3953c9..e067eda1f23e 100644
--- a/exwm-manage.el
+++ b/exwm-manage.el
@@ -322,9 +322,6 @@ manager is shutting down."
                                :window window :parent exwm--root :x 0 :y 0))
             (xcb:+request exwm--connection
                 (make-instance 'xcb:DestroyWindow :window container))))
-        ;; Restore the workspace if this X window is currently fullscreen.
-        (when (memq xcb:Atom:_NET_WM_STATE_FULLSCREEN exwm--ewmh-state)
-          (exwm-workspace--set-fullscreen exwm--frame))
         (exwm-manage--set-client-list)
         (xcb:flush exwm--connection))
       (let ((kill-buffer-func