summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-06-12 04:56:34 +0000
committerDana Jansens <danakj@orodu.net>2007-06-12 04:56:34 +0000
commitc51d6ebe1152876bfa6d02b5174489e016d2c830 (patch)
tree685b59825ff255e29611203bede6e2f92dbb4264
parent9e44bed8b88299295f1341f17f3ae9a9ba6e0925 (diff)
add debug print
-rw-r--r--openbox/action.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/openbox/action.c b/openbox/action.c
index 4c745b2d..6248d143 100644
--- a/openbox/action.c
+++ b/openbox/action.c
@@ -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);
+ }
}
}
}