mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
wayland: Rename DoubleBufferedState to PendingState
I was talking with other people and they became confused at the term "double-buffered", since we were also talking about double-buffering in general, e.g. swapping between two buffers. Instead, we'll adapt the "pending state" nomenclature that we already use for the field / variable names.
This commit is contained in:
@ -61,7 +61,7 @@ typedef struct
|
||||
|
||||
gboolean frame_extents_changed;
|
||||
GtkBorder frame_extents;
|
||||
} MetaWaylandDoubleBufferedState;
|
||||
} MetaWaylandPendingState;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
@ -90,7 +90,7 @@ struct _MetaWaylandSurface
|
||||
struct wl_listener parent_destroy_listener;
|
||||
|
||||
gboolean synchronous;
|
||||
MetaWaylandDoubleBufferedState pending_surface_state;
|
||||
MetaWaylandPendingState pending_surface_state;
|
||||
|
||||
int32_t pending_x;
|
||||
int32_t pending_y;
|
||||
@ -100,8 +100,8 @@ struct _MetaWaylandSurface
|
||||
|
||||
uint32_t state_changed_serial;
|
||||
|
||||
/* All the pending state, that wl_surface.commit will apply. */
|
||||
MetaWaylandDoubleBufferedState pending;
|
||||
/* All the pending state that wl_surface.commit will apply. */
|
||||
MetaWaylandPendingState pending;
|
||||
};
|
||||
|
||||
void meta_wayland_init_shell (MetaWaylandCompositor *compositor);
|
||||
|
Reference in New Issue
Block a user