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:
Jasper St. Pierre
2014-04-18 18:07:05 -04:00
parent f92c1af24a
commit db56a7cecb
2 changed files with 28 additions and 29 deletions

View File

@ -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);