mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 17:27:03 -05:00
Remove unused internal 'in-resize' flag
A remnant of days gone by.
This commit is contained in:
parent
398a7ac713
commit
f12c174d72
@ -70,7 +70,6 @@ typedef struct _ClutterVertex4 ClutterVertex4;
|
||||
#define CLUTTER_ACTOR_IN_REPARENT(a) ((CLUTTER_PRIVATE_FLAGS (a) & CLUTTER_IN_REPARENT) != FALSE)
|
||||
#define CLUTTER_ACTOR_IN_PAINT(a) ((CLUTTER_PRIVATE_FLAGS (a) & CLUTTER_IN_PAINT) != FALSE)
|
||||
#define CLUTTER_ACTOR_IN_RELAYOUT(a) ((CLUTTER_PRIVATE_FLAGS (a) & CLUTTER_IN_RELAYOUT) != FALSE)
|
||||
#define CLUTTER_STAGE_IN_RESIZE(a) ((CLUTTER_PRIVATE_FLAGS (a) & CLUTTER_IN_RESIZE) != FALSE)
|
||||
|
||||
#define CLUTTER_PARAM_READABLE (G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)
|
||||
#define CLUTTER_PARAM_WRITABLE (G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS)
|
||||
@ -108,14 +107,8 @@ typedef enum {
|
||||
/* Used to avoid recursion */
|
||||
CLUTTER_IN_RELAYOUT = 1 << 4,
|
||||
|
||||
/* Used by the stage if resizing is an asynchronous operation (like on
|
||||
* X11) to delay queueing relayouts until we got a notification from the
|
||||
* event handling
|
||||
*/
|
||||
CLUTTER_IN_RESIZE = 1 << 5,
|
||||
|
||||
/* a flag for internal children of Containers */
|
||||
CLUTTER_INTERNAL_CHILD = 1 << 6
|
||||
/* a flag for internal children of Containers (DEPRECATED) */
|
||||
CLUTTER_INTERNAL_CHILD = 1 << 5
|
||||
} ClutterPrivateFlags;
|
||||
|
||||
/*
|
||||
|
@ -143,9 +143,6 @@ clutter_stage_gdk_resize (ClutterStageWindow *stage_window,
|
||||
|
||||
CLUTTER_NOTE (BACKEND, "New size received: (%d, %d)", width, height);
|
||||
|
||||
CLUTTER_SET_PRIVATE_FLAGS (CLUTTER_STAGE_COGL (stage_gdk)->wrapper,
|
||||
CLUTTER_IN_RESIZE);
|
||||
|
||||
gdk_window_resize (stage_gdk->window, width, height);
|
||||
}
|
||||
|
||||
|
@ -279,9 +279,6 @@ clutter_stage_x11_resize (ClutterStageWindow *stage_window,
|
||||
width,
|
||||
height);
|
||||
|
||||
CLUTTER_SET_PRIVATE_FLAGS (stage_cogl->wrapper,
|
||||
CLUTTER_IN_RESIZE);
|
||||
|
||||
/* XXX: in this case we can rely on a subsequent
|
||||
* ConfigureNotify that will result in the stage
|
||||
* being reallocated so we don't actively do anything
|
||||
@ -1057,8 +1054,6 @@ clutter_stage_x11_translate_event (ClutterEventTranslator *translator,
|
||||
xevent->xconfigure.width / stage_x11->scale_factor,
|
||||
xevent->xconfigure.height / stage_x11->scale_factor);
|
||||
|
||||
CLUTTER_UNSET_PRIVATE_FLAGS (stage_cogl->wrapper, CLUTTER_IN_RESIZE);
|
||||
|
||||
if (size_changed)
|
||||
{
|
||||
/* XXX: This is a workaround for a race condition when
|
||||
|
Loading…
Reference in New Issue
Block a user