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
0e6baec350
commit
4f703019ca
@ -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