diff options
| author | Dana Jansens <danakj@orodu.net> | 2011-10-26 10:30:37 -0400 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2012-09-30 14:50:00 -0400 |
| commit | 73608702b8d450ed3ccb64d5084a4f1b17fdb895 (patch) | |
| tree | b9d3ae579591f7efe6f6ff0418a7e35014e6cc85 /openbox/event.c | |
| parent | be9637e40317eb36e5a5357d3f58e3af21c81df4 (diff) | |
Ignore enters on windows that are raised over focused window while being mapped.
Diffstat (limited to 'openbox/event.c')
| -rw-r--r-- | openbox/event.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/openbox/event.c b/openbox/event.c index 00b0bfff..e198eaa1 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -813,11 +813,14 @@ void event_enter_client(ObClient *client) g_assert(config_focus_follow); if (is_enter_focus_event_ignored(event_curserial)) { - ob_debug_type(OB_DEBUG_FOCUS, "Ignoring enter event with serial %lu\n" + ob_debug_type(OB_DEBUG_FOCUS, "Ignoring enter event with serial %lu " "on client 0x%x", event_curserial, client->window); return; } + ob_debug_type(OB_DEBUG_FOCUS, "using enter event with serial %lu " + "on client 0x%x", event_curserial, client->window); + if (client_enter_focusable(client) && client_can_focus(client)) { if (config_focus_delay) { ObFocusDelayData *data; |
