X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Factions.c;h=afbd9cb6445f07f395b6f6ac55e05404b03416fe;hb=34b332c22acb9f7f194eb8de80b5f4a6529e7e16;hp=674e22c08a1c3fb9e7bd0f656de3b5ba43bf74be;hpb=5ff0d07aba5399e1c8eeb8064d1d800e78c4fe9b;p=chaz%2Fopenbox diff --git a/openbox/actions.c b/openbox/actions.c index 674e22c0..afbd9cb6 100644 --- a/openbox/actions.c +++ b/openbox/actions.c @@ -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 */ @@ -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); } } }