[mutter/wip/wayland-clutter-events-2: 14/19] display: Update current_time when a Clutter event comes in
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/wayland-clutter-events-2: 14/19] display: Update current_time when a Clutter event comes in
- Date: Sat, 5 Oct 2013 14:15:59 +0000 (UTC)
commit c395ee1ce4fe78b8267e344770fc108009fdb246
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Oct 3 23:31:13 2013 -0400
display: Update current_time when a Clutter event comes in
src/core/display.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/core/display.c b/src/core/display.c
index d1fac7d..c275f48 100644
--- a/src/core/display.c
+++ b/src/core/display.c
@@ -2231,6 +2231,8 @@ meta_display_handle_event (MetaDisplay *display,
window = get_window_for_actor (event->any.source, &frame_was_receiver);
+ display->current_time = event->any.time;
+
switch (event->type)
{
case CLUTTER_BUTTON_PRESS:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]