X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=openbox%2Factions.c;h=afbd9cb6445f07f395b6f6ac55e05404b03416fe;hb=efc9d9708e3e746a9744a6175a4d3a1259d69991;hp=ee9d55f1bf8f42936c41594d263e0c2fab07d0a2;hpb=d09fd3183e6a52c63fcfdcf62d418cfdccb0015b;p=chaz%2Fopenbox diff --git a/openbox/actions.c b/openbox/actions.c index ee9d55f1..afbd9cb6 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 */ @@ -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); } } }