[broadway] Track future pointer events locations during parsing

We want this info so that we can avoid roundtrips and still get
a somewhat better querying for pointer locations.
This commit is contained in:
Alexander Larsson
2011-04-05 10:43:52 +02:00
parent 1fa952fb04
commit fdc2059edb
2 changed files with 17 additions and 0 deletions

View File

@ -155,6 +155,11 @@ struct _GdkBroadwayDisplay
GdkWindow *pointer_grab_window;
guint32 pointer_grab_time;
gboolean pointer_grab_owner_events;
/* Future data, from the currently queued events */
int future_root_x;
int future_root_y;
int future_mouse_in_toplevel;
};
struct _GdkBroadwayDisplayClass