diff options
author | Chris Feng <chris.w.feng@gmail.com> | 2018-11-18T00·00+0000 |
---|---|---|
committer | Chris Feng <chris.w.feng@gmail.com> | 2018-11-18T00·00+0000 |
commit | 882a628daad04e27fe19c03ceeb287ac9e6a8323 (patch) | |
tree | d487ac372a012551e3afb3cde585311570cb78dc /exwm-manage.el | |
parent | 5fde63cc453b080f3436751a1912440664a09663 (diff) |
Automatically refresh RandR settings
* exwm-randr.el (exwm-randr--last-timestamp): New variable recording last seen timestamp after requesting `GetMonitors'. (exwm-randr--get-monitors): Use it. (exwm-randr--on-ScreenChangeNotify): Do not refresh any more. (exwm-randr--on-Notify): New function for handling `CrtcChangeNotify' and `OutputChangeNotify' events. (exwm-randr--on-ConfigureNotify): New function for handling `ConfigureNotify' event. (exwm-randr--init): Add listeners for additional events.
Diffstat (limited to 'exwm-manage.el')
0 files changed, 0 insertions, 0 deletions