]> Dogcows Code - chaz/openbox/blobdiff - openbox/grab.c
Correct a 64-bit bug in event_time_after
[chaz/openbox] / openbox / grab.c
index 85027d5dceb02c2931ffbc0e4f67018e88272803..214666e58de9909df8bd15470772fca2d3253972 100644 (file)
@@ -41,7 +41,7 @@ static guint pgrabs = 0;
 static Time  grab_time = CurrentTime;
 static gint passive_count = 0;
 
-static Time ungrab_time()
+static Time ungrab_time(void)
 {
     Time t = event_curtime;
     if (grab_time == CurrentTime ||
@@ -58,12 +58,12 @@ static Time ungrab_time()
     return t;
 }
 
-gboolean grab_on_keyboard()
+gboolean grab_on_keyboard(void)
 {
     return kgrabs > 0;
 }
 
-gboolean grab_on_pointer()
+gboolean grab_on_pointer(void)
 {
     return pgrabs > 0;
 }
@@ -218,11 +218,11 @@ void grab_key_passive_count(int change)
     if (passive_count < 0) passive_count = 0;
 }
 
-void ungrab_passive_key()
+void ungrab_passive_key(void)
 {
-    ob_debug("ungrabbing %d passive grabs\n", passive_count);
+    /*ob_debug("ungrabbing %d passive grabs\n", passive_count);*/
     if (passive_count) {
-        /* kill out passive grab */
+        /* kill our passive grab */
         XUngrabKeyboard(ob_display, event_curtime);
         passive_count = 0;
     }
This page took 0.023968 seconds and 4 git commands to generate.