From 5ff0d07aba5399e1c8eeb8064d1d800e78c4fe9b Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 29 Sep 2010 16:04:53 -0400 Subject: update the user-interaction timestamp when running a (non-interactive) action on the focused window update it at the end of running actions instead of multiple times (once for each action) --- openbox/event.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'openbox/event.c') diff --git a/openbox/event.c b/openbox/event.c index 0d67fce0..1ceb25db 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -2246,3 +2246,8 @@ void event_reset_time(void) { next_time(); } + +void event_update_user_time(void) +{ + event_last_user_time = event_time(); +} -- cgit v1.2.3