summaryrefslogtreecommitdiff
path: root/openbox/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/event.c')
-rw-r--r--openbox/event.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/openbox/event.c b/openbox/event.c
index bb76f2fd..6260e912 100644
--- a/openbox/event.c
+++ b/openbox/event.c
@@ -595,9 +595,7 @@ static void event_handle_root(XEvent *e)
#ifdef XRANDR
XRRUpdateConfiguration(e);
#endif
- if (e->xconfigure.width != screen_physical_size.width ||
- e->xconfigure.height != screen_physical_size.height)
- screen_resize(e->xconfigure.width, e->xconfigure.height);
+ screen_resize();
break;
default:
;