From 4f703019cade7ff6132f8592552f735d0df21fe6 Mon Sep 17 00:00:00 2001 From: Rui Matos Date: Mon, 27 Apr 2015 19:08:24 +0200 Subject: [PATCH] shell-global: Mark the sync pointer motion event as synthetic This allows mutter to ignore these events for the purpose of keeping idle time. https://bugzilla.gnome.org/show_bug.cgi?id=748541 --- src/shell-global.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shell-global.c b/src/shell-global.c index acd5c80c8..188e89805 100644 --- a/src/shell-global.c +++ b/src/shell-global.c @@ -1464,7 +1464,7 @@ shell_global_sync_pointer (ShellGlobal *global) event.type = CLUTTER_MOTION; event.time = shell_global_get_current_time (global); - event.flags = 0; + event.flags = CLUTTER_EVENT_FLAG_SYNTHETIC; event.stage = global->stage; event.x = x; event.y = y;