When removing xrandr regions, ensure clients are within the bounds of

the screen; adapted from an ancient diff from Sviatoslav Chagaev. Things
in this area will likely change, but put this in so it works now and
serves as a reminder.
This commit is contained in:
okan
2016-10-04 20:15:55 +00:00
parent 5c13775d31
commit a37606c63f
3 changed files with 25 additions and 0 deletions

View File

@@ -386,6 +386,7 @@ xev_handle_randr(XEvent *ee)
if (sc->which == i) {
XRRUpdateConfiguration(ee);
screen_update_geometry(sc);
screen_assert_clients_within(sc);
}
}
}