Don't make desktop switching interactive when no mods used. (Fix bug #5203)
[dana/openbox.git] / openbox / actions.c
index ee9d55f..2d3438c 100644 (file)
@@ -375,7 +375,7 @@ static gboolean actions_interactive_begin_act(ObActionsAct *act, guint state)
         interactive_act = act;
         actions_act_ref(interactive_act);
 
-        interactive_initial_state = obt_keyboard_only_modmasks(state);
+        interactive_initial_state = state;
 
         /* if using focus_delay, stop the timer now so that focus doesn't go
            moving on us, which would kill the action */