From ad5b92588fbe36100cdc4ae7064883cd16e13a1e Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 16 Oct 2011 11:10:14 -0400 Subject: Don't make desktop switching interactive when no mods used. (Fix bug #5203) Make mod state passing more consistent, and always give actions the full state instead of stripping sometimes. (They ended up expecting it stripped always). --- openbox/actions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbox/actions.c') diff --git a/openbox/actions.c b/openbox/actions.c index ee9d55f1..2d3438cf 100644 --- a/openbox/actions.c +++ b/openbox/actions.c @@ -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 */ -- cgit v1.2.3