From 1c882c3ced97399292656739896fdbb19f1a15f5 Mon Sep 17 00:00:00 2001 From: okan Date: Tue, 4 Oct 2016 20:15:55 +0000 Subject: 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. --- xevents.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'xevents.c') diff --git a/xevents.c b/xevents.c index a59aee6..f2ecfe8 100644 --- a/xevents.c +++ b/xevents.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: xevents.c,v 1.123 2016/10/03 13:41:30 okan Exp $ + * $OpenBSD: xevents.c,v 1.124 2016/10/04 20:15:55 okan Exp $ */ /* @@ -386,6 +386,7 @@ xev_handle_randr(XEvent *ee) if (sc->which == i) { XRRUpdateConfiguration(ee); screen_update_geometry(sc); + screen_assert_clients_within(sc); } } } -- cgit v1.2.3-2-gb3c3