]> Dogcows Code - chaz/openbox/blobdiff - openbox/frame.c
add a comparitor to timers. use this in event.c to let you remove timers from the...
[chaz/openbox] / openbox / frame.c
index 880ab1b552cc20952166a685ef491871b73e8825..052f12df8d44e33613c0b52494d58411974deead 100644 (file)
@@ -234,8 +234,6 @@ static void frame_free(ObFrame *self)
 
 void frame_show(ObFrame *self)
 {
-    ob_debug("frame_show for window 0x%x : %d\n", self->client->window,
-             self->visible);
     if (!self->visible) {
         self->visible = TRUE;
         XMapWindow(ob_display, self->client->window);
@@ -245,8 +243,6 @@ void frame_show(ObFrame *self)
 
 void frame_hide(ObFrame *self)
 {
-    ob_debug("frame_hide for window 0x%x : %d\n", self->client->window,
-             self->visible);
     if (self->visible) {
         self->visible = FALSE;
         self->client->ignore_unmaps += 1;
@@ -981,6 +977,7 @@ void frame_flash_start(ObFrame *self)
                                  G_USEC_PER_SEC * 0.6,
                                  flash_timeout,
                                  self,
+                                 g_direct_equal,
                                  flash_done);
     g_get_current_time(&self->flash_end);
     g_time_val_add(&self->flash_end, G_USEC_PER_SEC * 5);
This page took 0.024077 seconds and 4 git commands to generate.