diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-06-03 19:09:32 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-06-03 19:09:32 +0000 |
| commit | 4940d007cce43a135f1b448902f5a3571dbce62a (patch) | |
| tree | 4c5c0a9e25dc7f8b9c55634df3ccaa6fe816ddf7 /openbox/action.c | |
| parent | 097d02d9d3d4b2eeea11084c54812de9cd7d14c0 (diff) | |
super amazing enter event skipping.
also mucho fixed for <underMouse>
Diffstat (limited to 'openbox/action.c')
| -rw-r--r-- | openbox/action.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/openbox/action.c b/openbox/action.c index de5f9a8a..80b563f9 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -39,8 +39,11 @@ #include <glib.h> +static gulong ignore_start = 0; + static void client_action_start(union ActionData *data) { + ignore_start = event_start_ignore_all_enters(); } static void client_action_end(union ActionData *data, gboolean allow_enters) @@ -48,7 +51,7 @@ static void client_action_end(union ActionData *data, gboolean allow_enters) if (config_focus_follow) if (data->any.context != OB_FRAME_CONTEXT_CLIENT) { if (!data->any.button && data->any.c && !allow_enters) { - event_ignore_all_queued_enters(); + event_end_ignore_all_enters(ignore_start); } else { ObClient *c; |
