diff options
Diffstat (limited to 'openbox/mouse.c')
| -rw-r--r-- | openbox/mouse.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/openbox/mouse.c b/openbox/mouse.c index 15d77ae6..e8b6aec0 100644 --- a/openbox/mouse.c +++ b/openbox/mouse.c @@ -346,6 +346,13 @@ gboolean mouse_bind(char *buttonstr, char *contextstr, ObMouseAction mact, grab_all_clients(FALSE); + /* when there are no modifiers in the binding, then the action cannot + be interactive */ + if (!state && action->data.any.interactive) { + action->data.any.interactive = FALSE; + action->data.inter.final = TRUE; + } + /* add the binding */ b = g_new0(ObMouseBinding, 1); b->state = state; |
