diff options
author | Chris Feng <chris.w.feng@gmail.com> | 2015-08-11T07·06+0800 |
---|---|---|
committer | Chris Feng <chris.w.feng@gmail.com> | 2015-08-11T07·06+0800 |
commit | 1ce18afd0559bacc3a7c43f5a73342814a5b176f (patch) | |
tree | 92e4d2dc95b96761f76b0944bd9cdc378fe0b2b4 /exwm-input.el | |
parent | 801185c7cc2c257ac2e8ed9a3aa8e8119c56ad1f (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.el | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/exwm-input.el b/exwm-input.el index a19331431dc2..4acacdf5725c 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) |