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