]> Dogcows Code - chaz/openbox/blobdiff - openbox/actions.c
Don't make desktop switching interactive when no mods used. (Fix bug #5203)
[chaz/openbox] / openbox / actions.c
index 674e22c08a1c3fb9e7bd0f656de3b5ba43bf74be..2d3438cf9f1c54da4a87d6c5243c07f2044c42d2 100644 (file)
@@ -1,6 +1,6 @@
 /* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*-
 
-   actions.h for the Openbox window manager
+   actions.c for the Openbox window manager
    Copyright (c) 2007        Dana Jansens
 
    This program is free software; you can redistribute it and/or modify
@@ -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 */
This page took 0.026003 seconds and 4 git commands to generate.