[broadway] Serialize event times
Event times come from the browser and may change weirdly when we reconnect with another browser, so we normalize these to be strictly increasing and with a 5 second gap for each reconnect.
This commit is contained in:
		| @ -263,7 +263,7 @@ gdk_broadway_device_grab (GdkDevice    *device, | ||||
| 	return GDK_GRAB_ALREADY_GRABBED; | ||||
|  | ||||
|       if (time_ == 0) | ||||
| 	time_ = broadway_display->last_event_time; | ||||
| 	time_ = broadway_display->last_seen_time; | ||||
|  | ||||
|       broadway_display->pointer_grab_window = window; | ||||
|       broadway_display->pointer_grab_owner_events = owner_events; | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Alexander Larsson
					Alexander Larsson