From b457217844141707e07c8f05f9b9cd33f7bfa13a Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 25 Nov 2023 02:30:16 +0300 Subject: [PATCH] fix(3p/exwm): re-enable chromium focus workaround This seems to actually sort of work with tab-bar-mode. Change-Id: I7b12b69ec7413ce9b9e1650d8629db8aca8a1796 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10117 Autosubmit: tazjin Reviewed-by: tazjin Tested-by: BuildkiteCI --- third_party/exwm/exwm-layout.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/third_party/exwm/exwm-layout.el b/third_party/exwm/exwm-layout.el index 119431aa8..0cfc47f8a 100644 --- a/third_party/exwm/exwm-layout.el +++ b/third_party/exwm/exwm-layout.el @@ -146,8 +146,8 @@ See variable `exwm-layout-auto-iconify'." (exwm--set-geometry id x y width height) (xcb:+request exwm--connection (make-instance 'xcb:MapWindow :window id)) (exwm-layout--set-state id xcb:icccm:WM_STATE:NormalState) - (setq exwm--ewmh-state - (delq xcb:Atom:_NET_WM_STATE_HIDDEN exwm--ewmh-state)) + ;; (setq exwm--ewmh-state + ;; (delq xcb:Atom:_NET_WM_STATE_HIDDEN exwm--ewmh-state)) (exwm-layout--set-ewmh-state id) (exwm-layout--auto-iconify))) (xcb:flush exwm--connection)) @@ -182,7 +182,7 @@ See variable `exwm-layout-auto-iconify'." :window id :value-mask xcb:CW:EventMask :event-mask (exwm--get-client-event-mask))) (exwm-layout--set-state id xcb:icccm:WM_STATE:IconicState) - (cl-pushnew xcb:Atom:_NET_WM_STATE_HIDDEN exwm--ewmh-state) + ;; (cl-pushnew xcb:Atom:_NET_WM_STATE_HIDDEN exwm--ewmh-state) (exwm-layout--set-ewmh-state id) (exwm-layout--auto-iconify) (xcb:flush exwm--connection))))