]> Dogcows Code - chaz/openbox/commitdiff
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 2324bc95ad846963521458fa8a610e44a7f17308..463962a25c26410a91f63f7874e3e9cb787f6af8 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 */
This page took 0.024949 seconds and 4 git commands to generate.