From 571ca227e7857b5fd95f4f3211d471083d69ec32 Mon Sep 17 00:00:00 2001 From: Adrián Medraño Calvo Date: Sat, 30 Oct 2021 00:00:00 +0000 Subject: Remove duplicate code * exwm-layout.el (exwm-layout-unset-fullscreen): Remove double removal of `xcb:Atom:_NET_WM_STATE_FULLSCREEN' from `exwm--ewmh-state'. --- exwm-layout.el | 2 -- 1 file changed, 2 deletions(-) (limited to 'exwm-layout.el') diff --git a/exwm-layout.el b/exwm-layout.el index 6a63be33d4b3..4b6e2a8f66f6 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 -- cgit 1.4.1