diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-05-10 22:20:08 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-05-10 22:20:08 +0000 |
| commit | 4e88712158d5019e09907a5f3ff4b78174712daf (patch) | |
| tree | b6df543d6294868b74878a97a4f8596b78c94e2f /openbox/event.c | |
| parent | 66899a4eb5d0697344673a6e5900e122411ba96a (diff) | |
some slit fixes, support resizing slitapps
Diffstat (limited to 'openbox/event.c')
| -rw-r--r-- | openbox/event.c | 5 |
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; } } |
