add SplitMode enum to Workspace struct
This commit is contained in:
parent
88a788d5f4
commit
c580905144
7
wm.h
7
wm.h
@ -73,6 +73,12 @@ enum Direction {
|
||||
RIGHT
|
||||
};
|
||||
|
||||
typedef enum {
|
||||
SPLIT_VERTICAL,
|
||||
SPLIT_HORIZ,
|
||||
SPLIT_TAB
|
||||
} SplitMode;
|
||||
|
||||
struct Monitor {
|
||||
Display *display;
|
||||
XineramaScreenInfo info;
|
||||
@ -105,6 +111,7 @@ struct Workspace {
|
||||
size_t index;
|
||||
char name[WM_WS_NAME_LEN];
|
||||
Monitor *monitor;
|
||||
SplitMode split;
|
||||
};
|
||||
|
||||
struct Arg {
|
||||
|
Loading…
x
Reference in New Issue
Block a user