summaryrefslogtreecommitdiff
path: root/openbox/event.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2012-09-30 22:41:34 -0400
committerDana Jansens <danakj@orodu.net>2012-10-06 21:56:56 -0400
commitaf01da31502b20300222213e693457320e4158e4 (patch)
tree66485cb46069a231fe1f18674a850218d967429a /openbox/event.h
parent6eb740cf119b14903afa3028e108dd98c57ff926 (diff)
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.
Diffstat (limited to 'openbox/event.h')
-rw-r--r--openbox/event.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/event.h b/openbox/event.h
index 4d9984e1..cc441405 100644
--- a/openbox/event.h
+++ b/openbox/event.h
@@ -26,7 +26,7 @@ struct _ObClient;
/*! The amount of time before a window appears that is checked for user input
to determine if the user is working in another window */
-#define OB_EVENT_USER_TIME_DELAY (1000) /* 1.0 seconds */
+#define OB_EVENT_USER_TIME_DELAY (1000) /* milliseconds */
/*! The last user-interaction time, as given by the clients */
extern Time event_last_user_time;