summaryrefslogtreecommitdiff
path: root/openbox/event.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-05-16 15:15:30 +0000
committerDana Jansens <danakj@orodu.net>2003-05-16 15:15:30 +0000
commit8367ab14e82ac23d9cf9eed6fa9d355becea154c (patch)
tree57d8bca299f80890c4f57e63557f16fc927cb9c6 /openbox/event.c
parent7b65469aea4db91cb704c4fe283773a0ffb72d7d (diff)
movnig shit around
Diffstat (limited to 'openbox/event.c')
-rw-r--r--openbox/event.c28
1 files changed, 14 insertions, 14 deletions
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) {