Use an anonymous struct
This commit is contained in:
parent
998be9b90c
commit
1096cbe236
10
glfw/wl_platform.h
vendored
10
glfw/wl_platform.h
vendored
@ -128,11 +128,6 @@ typedef enum WaylandWindowState {
|
||||
static const WaylandWindowState TOPLEVEL_STATE_DOCKED = TOPLEVEL_STATE_MAXIMIZED | TOPLEVEL_STATE_FULLSCREEN | TOPLEVEL_STATE_TILED_TOP | TOPLEVEL_STATE_TILED_LEFT | TOPLEVEL_STATE_TILED_RIGHT | TOPLEVEL_STATE_TILED_BOTTOM;
|
||||
|
||||
|
||||
typedef struct _GLFWwindowWaylandState {
|
||||
int width, height;
|
||||
uint32_t toplevel_states;
|
||||
} _GLFWwindowWaylandState;
|
||||
|
||||
// Wayland-specific per-window data
|
||||
//
|
||||
typedef struct _GLFWwindowWayland
|
||||
@ -221,7 +216,10 @@ typedef struct _GLFWwindowWayland
|
||||
unsigned int x, y;
|
||||
} axis_discrete_count;
|
||||
|
||||
_GLFWwindowWaylandState current, pending;
|
||||
struct {
|
||||
int width, height;
|
||||
uint32_t toplevel_states;
|
||||
} current, pending;
|
||||
} _GLFWwindowWayland;
|
||||
|
||||
typedef enum _GLFWWaylandOfferType
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user