simplify atom handling; allows us to limit to one round-trip to server

for gathering Atoms.
This commit is contained in:
okan
2013-07-15 14:50:44 +00:00
parent bd7b8163bb
commit 4119b5c065
7 changed files with 88 additions and 94 deletions

View File

@@ -37,6 +37,8 @@
char **cwm_argv;
Display *X_Dpy;
Atom cwmh[CWMH_NITEMS];
Atom ewmh[EWMH_NITEMS];
struct screen_ctx_q Screenq = TAILQ_HEAD_INITIALIZER(Screenq);
struct client_ctx_q Clientq = TAILQ_HEAD_INITIALIZER(Clientq);
@@ -129,7 +131,7 @@ x_init(const char *dpyname)
HasRandr = XRRQueryExtension(X_Dpy, &Randr_ev, &i);
xu_getatoms();
conf_atoms();
conf_cursor(&Conf);