diff options
author | Chris Feng <chris.w.feng@gmail.com> | 2016-02-21T12·19+0800 |
---|---|---|
committer | Chris Feng <chris.w.feng@gmail.com> | 2016-02-21T12·19+0800 |
commit | 55cec760ca3cee21e735bff9a9a5229b222b97ff (patch) | |
tree | f6593789633637697906259b5a3b2103de815343 /exwm-randr.el | |
parent | 7116b01b0c9b7efda105487a17192470c466b9c4 (diff) |
Fix emacsclient related issues
* exwm-systemtray.el (exwm-systemtray-height): The value is not available when emacsclient has just loaded the library (and it crashes emacsclient). * exwm-workspace.el (exwm-workspace--init): Set `default-minibuffer-frame' later to prevent it from being modified when using emacsclient. * exwm-floating.el: * exwm-randr.el: * exwm-systemtray.el: * exwm-workspace.el: * exwm.el: Use `exwm-workspace--minibuffer-own-frame-p' instead of the raw variable.
Diffstat (limited to 'exwm-randr.el')
-rw-r--r-- | exwm-randr.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/exwm-randr.el b/exwm-randr.el index 7f9b443c862b..e761d8f2e34d 100644 --- a/exwm-randr.el +++ b/exwm-randr.el @@ -54,7 +54,6 @@ (defvar exwm-randr-refresh-hook nil "Normal hook run when the RandR module just refreshed.") -(defvar exwm-workspace-minibuffer-position) (defvar exwm-layout--fullscreen-frame-count) (defvar exwm-workspace-number) (defvar exwm-workspace--list) @@ -94,7 +93,7 @@ (setq default-geometry geometry))))))) (exwm--log "(randr) outputs: %s" output-plist) (when output-plist - (setq workarea-offset (if exwm-workspace-minibuffer-position + (setq workarea-offset (if (exwm-workspace--minibuffer-own-frame-p) 0 (window-pixel-height (minibuffer-window)))) (setq exwm-layout--fullscreen-frame-count 0) |