diff options
author | Chris Feng <chris.w.feng@gmail.com> | 2016-02-07T02·18+0800 |
---|---|---|
committer | Chris Feng <chris.w.feng@gmail.com> | 2016-02-07T02·18+0800 |
commit | e9e476c4dee299a9dea3de11c286e0c93f86ce79 (patch) | |
tree | 5215c9f0965cc3c7e94cd39b14b39de30a9af26c /exwm-randr.el | |
parent | 97daba20ad22f05f2e4c1347ff86d6c957142a0a (diff) | |
parent | 00065234749054940563f59a0027a53bc5ebffad (diff) |
Merge branch 'fjl-fix-resize-minibuffer'
Diffstat (limited to 'exwm-randr.el')
-rw-r--r-- | exwm-randr.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/exwm-randr.el b/exwm-randr.el index 7e0d9bab64fe..51161a455d87 100644 --- a/exwm-randr.el +++ b/exwm-randr.el @@ -103,8 +103,9 @@ (frame-parameter frame 'exwm-workspace) x y width height) - (when (eq frame exwm-workspace--current) - (exwm-workspace--resize-minibuffer width height)) + (when (and (eq frame exwm-workspace--current) + (exwm-workspace--minibuffer-own-frame-p)) + (exwm-workspace--resize-minibuffer-frame width height)) (setq workareas (nconc workareas (list x y width (- height workarea-offset))) |