diff options
Diffstat (limited to 'events.c')
-rw-r--r-- | events.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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) { |