]> Dogcows Code - chaz/openbox/blobdiff - openbox/actions.c
Prompt should not always use the currently focused button as its result (Fix bug...
[chaz/openbox] / openbox / actions.c
index ee9d55f1bf8f42936c41594d263e0c2fab07d0a2..afbd9cb6445f07f395b6f6ac55e05404b03416fe 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 */
@@ -453,7 +453,7 @@ void actions_client_move(ObActionsData *data, gboolean start)
                     ob_debug_type(OB_DEBUG_FOCUS,
                                   "Generating fake leave because we did a "
                                   "mouse-event action");
-                    event_enter_client(data->client);
+                    event_leave_client(data->client);
                 }
             }
         }
This page took 0.027722 seconds and 4 git commands to generate.