summaryrefslogtreecommitdiff
path: root/openbox/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/event.c')
-rw-r--r--openbox/event.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/openbox/event.c b/openbox/event.c
index c96583dc..9a351f73 100644
--- a/openbox/event.c
+++ b/openbox/event.c
@@ -381,7 +381,7 @@ static void event_process(XEvent *e)
window = event_get_window(e);
if (!(client = g_hash_table_lookup(client_map, &window)))
- if (!(slitapp = g_hash_table_lookup(slit_map, &window)))
+ if (!(slitapp = g_hash_table_lookup(slit_app_map, &window)))
menu = g_hash_table_lookup(menu_map, &window);
event_set_lasttime(e);
@@ -924,5 +924,8 @@ static void event_handle_slitapp(SlitApp *app, XEvent *e)
case ReparentNotify:
slit_remove(app, FALSE);
break;
+ case ConfigureNotify:
+ slit_app_configure(app, e->xconfigure.width, e->xconfigure.height);
+ break;
}
}