about summary refs log tree commit diff
path: root/exwm-input.el
diff options
context:
space:
mode:
authorChris Feng <chris.w.feng@gmail.com>2015-08-11T07·06+0800
committerChris Feng <chris.w.feng@gmail.com>2015-08-11T07·06+0800
commit1ce18afd0559bacc3a7c43f5a73342814a5b176f (patch)
tree92e4d2dc95b96761f76b0944bd9cdc378fe0b2b4 /exwm-input.el
parent801185c7cc2c257ac2e8ed9a3aa8e8119c56ad1f (diff)
Center floating windows by default
This commit makes a floating window centered to its leading window if it has
a valid WM_TRANSIENT_FOR property set. Other it's placed at the center of the
screen.
Diffstat (limited to 'exwm-input.el')
-rw-r--r--exwm-input.el1
1 files changed, 0 insertions, 1 deletions
diff --git a/exwm-input.el b/exwm-input.el
index a19331431d..4acacdf572 100644
--- a/exwm-input.el
+++ b/exwm-input.el
@@ -86,7 +86,6 @@ It's updated in several occasions, and only used by `exwm-input--set-focus'.")
   "Update input focus."
   (when (and (frame-parameter nil 'exwm-window-id) ;e.g. emacsclient frame
              (eq (current-buffer) (window-buffer))) ;e.g. `with-temp-buffer'
-    (exwm--log "EXWM-INPUT--UPDATE-FOCUS")
     (if (eq major-mode 'exwm-mode)
         (progn (exwm--log "Set focus ID to #x%x" exwm--id)
                (setq exwm-input--focus-id exwm--id)