]> Dogcows Code - chaz/openbox/commitdiff
add debug print
authorDana Jansens <danakj@orodu.net>
Tue, 12 Jun 2007 04:56:34 +0000 (04:56 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 12 Jun 2007 04:56:34 +0000 (04:56 +0000)
openbox/action.c

index 4c745b2dafc538f9f62305daa2a81d68fe1b7cee..6248d143ee8c14425c9262385546345edbc702af 100644 (file)
@@ -60,8 +60,12 @@ static void client_action_end(union ActionData *data, gboolean allow_enters)
                    event will come as a GrabNotify which is ignored, so this
                    makes a fake enter event
                 */
-                if ((c = client_under_pointer()) && c != data->any.c)
+                if ((c = client_under_pointer()) && c != data->any.c) {
+                    ob_debug_type(OB_DEBUG_FOCUS,
+                                  "Generating fake enter because we did a "
+                                  "mouse-event action");
                     event_enter_client(c);
+                }
             }
         }
 }
This page took 0.02258 seconds and 4 git commands to generate.