-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathipc.h
64 lines (58 loc) · 1.34 KB
/
ipc.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/* Copyright (c) 2016, 2017 Tudor Ioan Roman. All rights reserved. */
/* Licensed under the ISC License. See the LICENSE file in the project root for full license information. */
#ifndef _WM_IPC_H
#define _WM_IPC_H
#define ATOM_COMMAND "__WM_IPC_COMMAND"
#define IPC_MUL_PLUS 0
#define IPC_MUL_MINUS 1
enum IPCCommand {
IPCWindowMove,
IPCWindowMoveAbsolute,
IPCWindowResize,
IPCWindowResizeAbsolute,
IPCWindowMaximize,
IPCWindowUnmaximize,
IPCWindowHorMaximize,
IPCWindowVerMaximize,
IPCWindowMonocle,
IPCWindowClose,
IPCWindowPutInGrid,
IPCWindowSnap,
IPCWindowCycle,
IPCWindowRevCycle,
IPCWindowCycleInGroup,
IPCWindowRevCycleInGroup,
IPCWindowCardinalFocus,
IPCWindowFocus,
IPCWindowFocusLast,
IPCGroupAddWindow,
IPCGroupRemoveWindow,
IPCGroupRemoveAllWindows,
IPCGroupActivate,
IPCGroupDeactivate,
IPCGroupToggle,
IPCGroupActivateSpecific,
IPCWMQuit,
IPCWMConfig,
NR_IPC_COMMANDS
};
enum IPCConfig {
IPCConfigBorderWidth,
IPCConfigColorFocused,
IPCConfigColorUnfocused,
IPCConfigGapWidth,
IPCConfigGridGapWidth,
IPCConfigCursorPosition,
IPCConfigGroupsNr,
IPCConfigEnableSloppyFocus,
IPCConfigEnableResizeHints,
IPCConfigStickyWindows,
IPCConfigEnableBorders,
IPCConfigEnableLastWindowFocusing,
IPCConfigApplySettings,
IPCConfigPointerActions,
IPCConfigPointerModifier,
IPCConfigClickToFocus,
NR_IPC_CONFIGS
};
#endif