From 2d3f8c5c50af9947b5b1cf1382dbe58bb7792144 Mon Sep 17 00:00:00 2001 From: Olivier Fourdan <fourdan.olivier@wanadoo.fr> Date: Tue, 18 Jul 2006 05:38:18 +0000 Subject: [PATCH] Update timestamp (Old svn revision: 22473) --- src/events.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/events.c b/src/events.c index 4b8f5b86d..fe6f7f31e 100644 --- a/src/events.c +++ b/src/events.c @@ -542,7 +542,7 @@ handleKeyPress (DisplayInfo *display_info, XKeyEvent * ev) default: break; } - XAllowEvents (display_info->dpy, SyncKeyboard, ev->time); + XAllowEvents (display_info->dpy, SyncKeyboard, myDisplayGetCurrentTime (display_info)); } /* User has clicked on an edge or corner. @@ -986,11 +986,11 @@ handleButtonPress (DisplayInfo *display_info, XButtonEvent * ev) if (replay) { - XAllowEvents (display_info->dpy, ReplayPointer, ev->time); + XAllowEvents (display_info->dpy, ReplayPointer, myDisplayGetCurrentTime (display_info)); } else { - XAllowEvents (display_info->dpy, SyncPointer, ev->time); + XAllowEvents (display_info->dpy, SyncPointer, myDisplayGetCurrentTime (display_info)); } return; -- GitLab