diff options
Diffstat (limited to 'xevents.c')
-rw-r--r-- | xevents.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xevents.c b/xevents.c index 39586b1..d52984a 100644 --- a/xevents.c +++ b/xevents.c @@ -368,8 +368,7 @@ xev_handle_randr(XEvent *ee) TAILQ_FOREACH(sc, &Screenq, entry) { if (sc->which == (u_int)i) { XRRUpdateConfiguration(ee); - sc->xmax = rev->width; - sc->ymax = rev->height; + screen_update_geometry(sc, rev->width, rev->height); screen_init_xinerama(sc); } } |