diff options
author | Chris Feng <chris.w.feng@gmail.com> | 2015-08-07T12·22+0800 |
---|---|---|
committer | Chris Feng <chris.w.feng@gmail.com> | 2015-08-07T12·22+0800 |
commit | 84f0f0328b173af82c873e395353bd9a6c3bf1f6 (patch) | |
tree | 38c8c7ed82b9f67ff4b854cd6a71f8b7f369461f /exwm-layout.el | |
parent | 2ad1a89db0c9e3704c79294620c5ed4925b143eb (diff) |
Fix input focus lost after closing window
Also insert some debug messages.
Diffstat (limited to 'exwm-layout.el')
-rw-r--r-- | exwm-layout.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/exwm-layout.el b/exwm-layout.el index 7630b688e2b0..1dd8333bb420 100644 --- a/exwm-layout.el +++ b/exwm-layout.el @@ -28,6 +28,7 @@ (defun exwm-layout--show (id &optional window) "Show window ID exactly fit in the Emacs window WINDOW." + (exwm--log "Show #x%x in %s" id window) (xcb:+request exwm--connection (make-instance 'xcb:MapWindow :window id)) (xcb:+request exwm--connection (make-instance 'xcb:icccm:set-WM_STATE @@ -69,6 +70,7 @@ "Hide window ID." (unless (eq xcb:icccm:WM_STATE:IconicState ;already hidden (with-current-buffer (exwm--id->buffer id) exwm-state)) + (exwm--log "Hide #x%x" id) (xcb:+request exwm--connection (make-instance 'xcb:ChangeWindowAttributes :window id :value-mask xcb:CW:EventMask @@ -162,6 +164,7 @@ "Refresh layout." (unless (compare-window-configurations exwm-layout--window-configuration (current-window-configuration)) + (exwm--log "Refresh layout") (setq exwm-layout--window-configuration (current-window-configuration)) (let ((frame (selected-frame)) windows) |