X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Faction.c;h=c6e66c3517ceaa1f8b5cf3162d802e6780f4722d;hb=fe7eefc13100f103a0262b3786f0c373fd0cac94;hp=332e100d45c4a15bdd4ed0363d1e6310ece2642a;hpb=d9e08487dffd010f4434d24b98a3a571b2e5a600;p=chaz%2Fopenbox diff --git a/openbox/action.c b/openbox/action.c index 332e100d..c6e66c35 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -49,13 +49,17 @@ inline void client_action_end(union ActionData *data) } else { ObClient *c; + /* usually this is sorta redundant, but with a press action + the enter event will come as a GrabNotify which is + ignored, so this will handle that case */ if ((c = client_under_pointer())) event_enter_client(c); } } } -typedef struct ActionString { +typedef struct +{ const gchar *name; void (*func)(union ActionData *); void (*setup)(ObAction **, ObUserAction uact);