Allow windows created by execute actions to steal focus if the user isn't interacting...
authorDana Jansens <danakj@orodu.net>
Mon, 1 Oct 2012 02:41:34 +0000 (22:41 -0400)
committerDana Jansens <danakj@orodu.net>
Sun, 7 Oct 2012 01:56:56 +0000 (21:56 -0400)
commitaf01da31502b20300222213e693457320e4158e4
tree66485cb46069a231fe1f18674a850218d967429a
parent6eb740cf119b14903afa3028e108dd98c57ff926
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.c
openbox/actions.h
openbox/actions/execute.c
openbox/event.h