diff options
author | Stivvo <stivvo01@gmail.com> | 2020-09-14 17:40:14 +0200 |
---|---|---|
committer | Stivvo <stivvo01@gmail.com> | 2020-09-15 12:28:49 +0200 |
commit | bece225934216f1d047ebecc5b574ed1b15886f2 (patch) | |
tree | 78ba06a4e23ec62cdef41931e77c9339cf335eef /.github/ISSUE_TEMPLATE/enhancement-idea.md | |
parent | 537ad7e3fdc23602254ba00ba869eab891be7966 (diff) |
Handle monitor unplug
Floating widndows with "x < removed monitor's width" aren't resized
(they used to disappear in negative coordinates).
Actually delete monitors when they are unplugged, recalculate sgeom and
give a new monitor to clients that were on the removed one with setmon()
arrangefloat() funcion has been exploded to save iterations in
cleanupmon().
Also if a monitor that supports auto suspension is turned off, dwl will
count it as unplugged (it will become unreachable and all clients will
be moved to the leftmost monitor). However, if at least one monitor
isn't plugged in, dwl will still crash the same as before.
Unlike sway, when the output configuration is changed and restored,
(unplug + plug the same monitor for example) previous application
positions aren't kept. This is due to the fact that on sway every
workspace is unique among all monitors.
Diffstat (limited to '.github/ISSUE_TEMPLATE/enhancement-idea.md')
0 files changed, 0 insertions, 0 deletions