]> Dogcows Code - chaz/openbox/commitdiff
only show the debug message when relevent
authorDana Jansens <danakj@orodu.net>
Tue, 8 May 2007 02:31:46 +0000 (02:31 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 8 May 2007 02:31:46 +0000 (02:31 +0000)
openbox/event.c

index 1c640f130de5eba03e771ad9950af926bbbeb61d..ace3e86177821978ed41e606cf87c955992855e8 100644 (file)
@@ -1047,9 +1047,10 @@ static void event_handle_client(ObClient *client, XEvent *e)
                        (e->xclient.data.l[0] == 2 ? "user" : "INVALID"))));
             /* XXX make use of data.l[2] !? */
             event_curtime = e->xclient.data.l[1];
-            ob_debug_type(OB_DEBUG_APP_BUGS,
-                          "_NET_ACTIVE_WINDOW message for window %s is "
-                          "missing a timestamp\n", client->title);
+            if (event_curtime == 0)
+                ob_debug_type(OB_DEBUG_APP_BUGS,
+                              "_NET_ACTIVE_WINDOW message for window %s is "
+                              "missing a timestamp\n", client->title);
             client_activate(client, FALSE,
                             (e->xclient.data.l[0] == 0 ||
                              e->xclient.data.l[0] == 2));
This page took 0.025289 seconds and 4 git commands to generate.