diff options
author | Chris Feng <chris.w.feng@gmail.com> | 2016-02-06T08·47+0800 |
---|---|---|
committer | Chris Feng <chris.w.feng@gmail.com> | 2016-02-06T08·47+0800 |
commit | bc80eefe3ff015f645b5ca2ff4a8838a48a72b96 (patch) | |
tree | c7319c4948de681c68ac5488d631ffa76e9fb8ec /exwm.el | |
parent | 0e4055d3392537cd4138181b9c615fa03053add8 (diff) |
Fix multi-monitor/fullscreen issues
* exwm-randr.el (exwm-randr--refresh): Correct the _NET_WORKAREA property. Reconfigure the current workspace when screen changes. (exwm-randr--init): Run `exwm-randr-screen-change-hook' to take into account already attached monitor(s), * exwm.el (exwm--on-ClientMessage): Reconfigure the current workspace when it's fullscreen.
Diffstat (limited to 'exwm.el')
-rw-r--r-- | exwm.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/exwm.el b/exwm.el index 720274fdcbb9..4335c814cf49 100644 --- a/exwm.el +++ b/exwm.el @@ -341,7 +341,9 @@ :window id :data (vector xcb:Atom:_NET_WM_STATE_FULLSCREEN))) - (xcb:flush exwm--connection)))) + (xcb:flush exwm--connection))) + ;; Force update workspace settings. + (exwm-workspace-switch exwm-workspace-current-index t)) (when buffer ;ensure it's managed (with-current-buffer buffer ;; _NET_WM_STATE_MODAL |