]> Dogcows Code - chaz/openbox/blobdiff - openbox/mouse.c
remove the startup notification code from event.c, it all lives in its own file now
[chaz/openbox] / openbox / mouse.c
index 988e0147acee9dc169edda25323f20cbbe8d44bd..ace7bca0c59aca82b172dd5b539d5398ed1bfe12 100644 (file)
@@ -53,7 +53,8 @@ void mouse_grab_for_client(ObClient *client, gboolean grab)
             } else continue;
 
             if (grab)
-                grab_button_full(b->button, b->state, win, mask, mode, None);
+                grab_button_full(b->button, b->state, win, mask, mode,
+                                 OB_CURSOR_NONE);
             else
                 ungrab_button(b->button, b->state, win);
         }
@@ -87,6 +88,7 @@ static void clearall()
             g_free(b);
         }
         g_slist_free(bound_contexts[i]);
+        bound_contexts[i] = NULL;
     }
 }
 
@@ -367,11 +369,11 @@ gboolean mouse_bind(char *buttonstr, char *contextstr, ObMouseAction mact,
     return TRUE;
 }
 
-void mouse_startup()
+void mouse_startup(gboolean reconfig)
 {
 }
 
-void mouse_shutdown()
+void mouse_shutdown(gboolean reconfig)
 {
     grab_all_clients(FALSE);
     clearall();
This page took 0.020358 seconds and 4 git commands to generate.