Use an anonymous struct for before_fullscreen
This commit is contained in:
parent
3483722475
commit
f36b71350d
@ -149,11 +149,6 @@ typedef struct {
|
|||||||
BorderRects border_rects;
|
BorderRects border_rects;
|
||||||
} Tab;
|
} Tab;
|
||||||
|
|
||||||
typedef struct {
|
|
||||||
int x, y, w, h;
|
|
||||||
bool is_set;
|
|
||||||
} OSWindowGeometry;
|
|
||||||
|
|
||||||
enum RENDER_STATE { RENDER_FRAME_NOT_REQUESTED, RENDER_FRAME_REQUESTED, RENDER_FRAME_READY };
|
enum RENDER_STATE { RENDER_FRAME_NOT_REQUESTED, RENDER_FRAME_REQUESTED, RENDER_FRAME_READY };
|
||||||
typedef enum { NO_CLOSE_REQUESTED, CONFIRMABLE_CLOSE_REQUESTED, CLOSE_BEING_CONFIRMED, IMPERATIVE_CLOSE_REQUESTED } CloseRequest;
|
typedef enum { NO_CLOSE_REQUESTED, CONFIRMABLE_CLOSE_REQUESTED, CLOSE_BEING_CONFIRMED, IMPERATIVE_CLOSE_REQUESTED } CloseRequest;
|
||||||
|
|
||||||
@ -170,7 +165,10 @@ typedef struct {
|
|||||||
void *handle;
|
void *handle;
|
||||||
id_type id;
|
id_type id;
|
||||||
uint32_t offscreen_framebuffer;
|
uint32_t offscreen_framebuffer;
|
||||||
OSWindowGeometry before_fullscreen;
|
struct {
|
||||||
|
int x, y, w, h;
|
||||||
|
bool is_set;
|
||||||
|
} before_fullscreen;
|
||||||
int viewport_width, viewport_height, window_width, window_height;
|
int viewport_width, viewport_height, window_width, window_height;
|
||||||
double viewport_x_ratio, viewport_y_ratio;
|
double viewport_x_ratio, viewport_y_ratio;
|
||||||
Tab *tabs;
|
Tab *tabs;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user