From: Dana Jansens Date: Fri, 16 May 2003 15:15:30 +0000 (+0000) Subject: movnig shit around X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=8367ab14e82ac23d9cf9eed6fa9d355becea154c;p=chaz%2Fopenbox movnig shit around --- diff --git a/openbox/event.c b/openbox/event.c index 6c4df780..230626bf 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -935,20 +935,6 @@ 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; - case LeaveNotify: - slit_hide(s, TRUE); - break; - } -} - void event_add_fd_handler(event_fd_handler *h) { g_datalist_id_set_data(&fd_handler_list, h->fd, h); FD_SET(h->fd, &allset); @@ -983,6 +969,20 @@ void fd_event_handle() g_datalist_foreach(&fd_handler_list, fd_event_handle_foreach, NULL); } +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; + case LeaveNotify: + slit_hide(s, TRUE); + break; + } +} + static void event_handle_slitapp(SlitApp *app, XEvent *e) { switch (e->type) {