From 571ca227e7857b5fd95f4f3211d471083d69ec32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Medra=C3=B1o=20Calvo?= Date: Sat, 30 Oct 2021 00:00:00 +0000 Subject: [PATCH] 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(-) diff --git a/exwm-layout.el b/exwm-layout.el index 6a63be3..4b6e2a8 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