save the state of the modifiers only when starting an interactive action

This commit is contained in:
Dana Jansens 2010-02-19 15:53:36 -05:00
parent 2c5d755bd8
commit 4418e6988b

View 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 */