wayland: Record the offset position

This is needed for DND surfaces. We should probably test to see if it's
used for cursor surfaces at all.
This commit is contained in:
Jasper St. Pierre
2014-08-21 17:46:36 -04:00
parent 166668adc4
commit c061e26da5
2 changed files with 5 additions and 0 deletions

View File

@ -115,6 +115,8 @@ struct _MetaWaylandSurface
GSList *pending_placement_ops;
} sub;
int32_t offset_x, offset_y;
gboolean has_set_geometry;
/* All the pending state that wl_surface.commit will apply. */