add debug print

This commit is contained in:
Dana Jansens 2007-06-12 04:56:34 +00:00
parent 9e44bed8b8
commit c51d6ebe11

View 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);
}
}
}
}