projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
4f8503c
)
Fixing commit 066a15d7aa64eaa0. Don't ever use CurrentTime as event_curtime.
author
Dana Jansens
<danakj@orodu.net>
Thu, 14 Oct 2010 23:37:36 +0000
(19:37 -0400)
committer
Dana Jansens
<danakj@orodu.net>
Mon, 24 Jan 2011 19:19:22 +0000
(14:19 -0500)
Force event_curtime to be some valid timestamp.
openbox/event.c
patch
|
blob
|
history
diff --git
a/openbox/event.c
b/openbox/event.c
index
1ceb25d
..
a72f07b
100644
(file)
--- a/
openbox/event.c
+++ b/
openbox/event.c
@@
-2202,7
+2202,7
@@
gboolean event_time_after(guint32 t1, guint32 t2)
gboolean find_timestamp(XEvent *e, gpointer data)
{
const Time t = event_get_timestamp(e);
- if (t >= event_curtime) {
+ if (t
&& t
>= event_curtime) {
event_curtime = t;
return TRUE;
}