From af01da31502b20300222213e693457320e4158e4 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 30 Sep 2012 22:41:34 -0400 Subject: Allow windows created by execute actions to steal focus if the user isn't interacting with another window (Fix bug 5419). When the execute action was run, we would say that the user had used the focused at that time. Then when a new window popped up, we'd think the user was busy in the current window and prevent the new one from steal focus. Now the execute action does not update the "user interacted with the focused window" timestamp anymore. So, if they aren't currently typing in some window when they trigger an execute action, and the window appears, it will steal focus. --- openbox/actions/execute.c | 1 + 1 file changed, 1 insertion(+) (limited to 'openbox/actions/execute.c') diff --git a/openbox/actions/execute.c b/openbox/actions/execute.c index 380ffa00..df600fa0 100644 --- a/openbox/actions/execute.c +++ b/openbox/actions/execute.c @@ -33,6 +33,7 @@ void action_execute_startup(void) { actions_register("Execute", setup_func, free_func, run_func); actions_set_shutdown("Execute", shutdown_func); + actions_set_modifies_focused_window("Execute", FALSE); client_add_destroy_notify(client_dest, NULL); } -- cgit v1.2.3