wayland: Replace set_margin with set_window_geometry

This commit is contained in:
Jasper St. Pierre
2014-07-17 14:07:38 -04:00
parent 826751429b
commit 692eb4d957
3 changed files with 73 additions and 53 deletions

View File

@ -61,8 +61,8 @@ typedef struct
/* wl_surface.frame */
struct wl_list frame_callback_list;
gboolean frame_extents_changed;
GtkBorder frame_extents;
MetaRectangle new_geometry;
gboolean has_new_geometry;
} MetaWaylandPendingState;
typedef struct
@ -109,6 +109,8 @@ struct _MetaWaylandSurface
GSList *pending_placement_ops;
} sub;
gboolean has_set_geometry;
/* All the pending state that wl_surface.commit will apply. */
MetaWaylandPendingState pending;
};