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
This commit is contained in:
parent
ed6cb19283
commit
f8eb9e763d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user