From 47d107edb5069176265852fac96ea0eedbec8d34 Mon Sep 17 00:00:00 2001 From: Bert Date: Mon, 17 Jan 2011 19:50:46 +0100 Subject: React to ConfigureNotify --- events.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'events.c') diff --git a/events.c b/events.c index ccc5f2e..45a9474 100644 --- a/events.c +++ b/events.c @@ -30,6 +30,10 @@ void on_expose(app_t *app, XEvent *ev) { } void on_configurenotify(app_t *app, XEvent *ev) { + if (app == NULL || ev == NULL) + return; + + win_configure(&app->win, &ev->xconfigure); } void on_keypress(app_t *app, XEvent *ev) { -- cgit v1.2.3