summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2010-02-19 15:53:36 -0500
committerDana Jansens <danakj@orodu.net>2010-02-19 15:53:36 -0500
commit4418e6988b5ea80acf0dee4f27a43b27a1fdf48f (patch)
tree6b568994f7d4233d95751865c92d558a06d05614
parent2c5d755bd8bfea13fc9830c74b00877e17294e61 (diff)
save the state of the modifiers only when starting an interactive action
-rw-r--r--openbox/actions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/actions.c b/openbox/actions.c
index 2324bc95..463962a2 100644
--- a/openbox/actions.c
+++ b/openbox/actions.c
@@ -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 */