From 58cfbb7f8419e084af6b6b8b00c88ed270c29e88 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 11 May 2003 19:44:33 +0000 Subject: Clients Menus and Slits are all 'ObWindow's now. Stacking is done with ObWindows. Slits add themselves to the stacking order, as do clients of course. Added some macros for adding/removing to the stacking order. --- openbox/event.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'openbox/event.c') diff --git a/openbox/event.c b/openbox/event.c index f6090f67..766be8fd 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -916,6 +916,8 @@ static void event_handle_menu(Menu *menu, XEvent *e) static void event_handle_slit(Slit *s, XEvent *e) { switch (e->type) { + case ButtonPress: + stacking_raise(SLIT_AS_WINDOW(s)); case EnterNotify: slit_hide(s, FALSE); break; -- cgit v1.2.3