emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/exwm 4462981: Scan for existing X windows only after ru


From: Chris Feng
Subject: [elpa] externals/exwm 4462981: Scan for existing X windows only after running `exwm-init-hook'
Date: Tue, 5 Feb 2019 00:31:53 -0500 (EST)

branch: externals/exwm
commit 44629818bacf3e3a10a37e570fdee2e963dbcc7b
Author: Chris Feng <address@hidden>
Commit: Chris Feng <address@hidden>

    Scan for existing X windows only after running `exwm-init-hook'
    
    * exwm.el (exwm-init): Delay the call to `exwm-manage--scan' since
    managing existing X windows too early may result in issues like losing
    input focus.
---
 exwm.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/exwm.el b/exwm.el
index 6f6458d..7affebf 100644
--- a/exwm.el
+++ b/exwm.el
@@ -833,9 +833,9 @@ manager.  If t, replace it, if nil, abort and ask the user 
if `ask'."
         (exwm--unlock)
         (exwm-workspace--post-init)
         (exwm-input--post-init)
+        (run-hooks 'exwm-init-hook)
         ;; Manage existing windows
-        (exwm-manage--scan)
-        (run-hooks 'exwm-init-hook))
+        (exwm-manage--scan))
     ((quit error)
      (exwm-exit)
      ;; Rethrow error



reply via email to

[Prev in Thread] Current Thread [Next in Thread]