save the state of the modifiers only when starting an interactive action
authorDana Jansens <danakj@orodu.net>
Fri, 19 Feb 2010 20:53:36 +0000 (15:53 -0500)
committerDana Jansens <danakj@orodu.net>
Fri, 19 Feb 2010 20:53:36 +0000 (15:53 -0500)
openbox/actions.c

index 2324bc9..463962a 100644 (file)
@@ -368,7 +368,7 @@ static gboolean actions_interactive_begin_act(ObActionsAct *act, guint state)
         interactive_act = act;
         actions_act_ref(interactive_act);
 
-        interactive_initial_state = state;
+        interactive_initial_state = obt_keyboard_only_modmasks(state);
 
         /* if using focus_delay, stop the timer now so that focus doesn't go
            moving on us, which would kill the action */