summaryrefslogtreecommitdiff
path: root/openbox/event.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-08-04 23:35:36 -0400
committerDana Jansens <danakj@orodu.net>2007-08-04 23:35:36 -0400
commitf55ae9e56945892825928cfb021b5e739d0d5224 (patch)
tree19a26efae2532bc046160289adca8a8dc45ac3a7 /openbox/event.h
parent98b9ed97ebbcf22185359c8f6f1d539a105cd258 (diff)
parentfa085b73389de3af8236919f4e39c4c20d16ed7c (diff)
Merge branch 'backport'
Diffstat (limited to 'openbox/event.h')
-rw-r--r--openbox/event.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/openbox/event.h b/openbox/event.h
index a1ccfbc6..65ff915b 100644
--- a/openbox/event.h
+++ b/openbox/event.h
@@ -24,8 +24,14 @@
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 (500) /* 0.5 seconds */
+
/*! Time at which the last event with a timestamp occured. */
extern Time event_curtime;
+/*! The last user-interaction time, as given by the clients */
+extern Time event_last_user_time;
void event_startup(gboolean reconfig);
void event_shutdown(gboolean reconfig);
@@ -50,4 +56,6 @@ void event_halt_focus_delay();
comes at the same time or later than t2. */
gboolean event_time_after(Time t1, Time t2);
+Time event_get_server_time();
+
#endif