]> Dogcows Code - chaz/openbox/commitdiff
movnig shit around
authorDana Jansens <danakj@orodu.net>
Fri, 16 May 2003 15:15:30 +0000 (15:15 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 16 May 2003 15:15:30 +0000 (15:15 +0000)
openbox/event.c

index 6c4df78045c7621299b3500473fec93ad452658a..230626bf7844a616d44f675b53d49efc90545290 100644 (file)
@@ -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) {
This page took 0.023335 seconds and 4 git commands to generate.