diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-09-22 04:13:34 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-09-22 04:13:34 +0000 |
| commit | 8b5619d0ad1ed1a9ed41cc5e54622aa6e8fd2cf9 (patch) | |
| tree | 748e2103da651522b0344542ff8c5c284577bd4a /openbox | |
| parent | 2612dbf0504c9e35171248b44a2b58b63a80b624 (diff) | |
add comment
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/action.c | 6 |
1 files changed, 5 insertions, 1 deletions
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); |
