[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:
@ -150,21 +150,17 @@ struct _GdkBroadwayDisplay
|
||||
/* input GdkDevice list */
|
||||
GList *input_devices;
|
||||
|
||||
/* Time of most recent user interaction. */
|
||||
gulong user_time;
|
||||
|
||||
/* The offscreen window that has the pointer in it (if any) */
|
||||
GdkWindow *active_offscreen_window;
|
||||
|
||||
GSocketService *service;
|
||||
BroadwayOutput *output;
|
||||
guint32 saved_serial;
|
||||
guint64 last_seen_time;
|
||||
BroadwayInput *input;
|
||||
GList *input_messages;
|
||||
guint process_input_idle;
|
||||
|
||||
guint64 last_event_time;
|
||||
|
||||
/* Explicit pointer grabs: */
|
||||
GdkWindow *pointer_grab_window;
|
||||
guint32 pointer_grab_time;
|
||||
|
||||
Reference in New Issue
Block a user