-
Notifications
You must be signed in to change notification settings - Fork 2
/
atom.c
47 lines (47 loc) · 1.21 KB
/
atom.c
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
#include "atom.h"
char * jbwm_atom_names[]={
"_NET_SUPPORTED",
"_NET_CURRENT_DESKTOP",
"_NET_NUMBER_OF_DESKTOPS",
"_NET_DESKTOP_VIEWPORT",
"_NET_DESKTOP_GEOMETRY",
"_NET_SUPPORTING_WM_CHECK",
"_NET_ACTIVE_WINDOW",
"_NET_MOVERESIZE_WINDOW",
"_NET_CLOSE_WINDOW",
"_NET_CLIENT_LIST",
"_NET_VIRTUAL_ROOTS",
"_NET_CLIENT_LIST_STACKING",
"_NET_FRAME_EXTENTS",
"_NET_WM_ALLOWED_ACTIONS",
"_NET_WM_NAME",
"_NET_WM_DESKTOP",
"_NET_WM_MOVERESIZE",
"_NET_WM_PID",
"_NET_WM_WINDOW_TYPE",
"_NET_WM_STATE",
"_NET_WM_ACTION_MOVE",
"_NET_WM_ACTION_RESIZE",
"_NET_WM_ACTION_CLOSE",
"_NET_WM_ACTION_SHADE",
"_NET_WM_ACTION_FULLSCREEN",
"_NET_WM_ACTION_CHANGE_DESKTOP",
"_NET_WM_ACTION_ABOVE",
"_NET_WM_ACTION_BELOW",
"_NET_WM_ACTION_MAXIMIZE_HORZ",
"_NET_WM_ACTION_MAXIMIZE_VERT",
"_NET_WM_STATE_STICKY",
"_NET_WM_STATE_MAXIMIZED_VERT",
"_NET_WM_STATE_MAXIMIZED_HORZ",
"_NET_WM_STATE_SHADED",
"_NET_WM_STATE_HIDDEN",
"_NET_WM_STATE_FULLSCREEN",
"_NET_WM_STATE_ABOVE",
"_NET_WM_STATE_BELOW",
"_NET_WM_STATE_FOCUSED",
"_MOTIF_WM_HINTS"
};
Atom jbwm_atoms[JBWM_ATOM_COUNT];
void jbwm_create_atoms(Display *d){
XInternAtoms(d,jbwm_atom_names,JBWM_ATOM_COUNT,False,jbwm_atoms);
}