mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-12 13:30:01 -05:00
opt: optimize code struct
This commit is contained in:
parent
0b18678231
commit
fb7c1b8783
1 changed files with 5 additions and 5 deletions
10
src/mango.c
10
src/mango.c
|
|
@ -160,6 +160,11 @@ enum {
|
|||
enum { UP, DOWN, LEFT, RIGHT, UNDIR }; /* smartmovewin */
|
||||
enum { NONE, OPEN, MOVE, CLOSE, TAG };
|
||||
enum { UNFOLD, FOLD, INVALIDFOLD };
|
||||
|
||||
typedef struct Pertag Pertag;
|
||||
typedef struct Monitor Monitor;
|
||||
typedef struct Client Client;
|
||||
|
||||
struct dvec2 {
|
||||
double x, y;
|
||||
};
|
||||
|
|
@ -225,10 +230,6 @@ struct dwl_animation {
|
|||
int action;
|
||||
};
|
||||
|
||||
typedef struct Pertag Pertag;
|
||||
typedef struct Monitor Monitor;
|
||||
struct wlr_foreign_toplevel_handle_v1;
|
||||
|
||||
typedef struct {
|
||||
float width_scale;
|
||||
float height_scale;
|
||||
|
|
@ -239,7 +240,6 @@ typedef struct {
|
|||
bool should_scale;
|
||||
} BufferData;
|
||||
|
||||
typedef struct Client Client;
|
||||
struct Client {
|
||||
/* Must keep these three elements in this order */
|
||||
unsigned int type; /* XDGShell or X11* */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue