diff options
author | Enno Boland (tox) <tox@s01.de> | 2009-09-23 11:24:11 +0200 |
---|---|---|
committer | Enno Boland (tox) <tox@s01.de> | 2009-09-23 11:24:11 +0200 |
commit | 204af1549bb5f1e8e848579ff41ee52d58dd593f (patch) | |
tree | 33db627069402d49f76738ef6cc0a31615e2d2a0 /tabbed.c | |
parent | 44d0720f9c352017b9c49a8dae6f9fbeb2f54163 (diff) |
storing windowId in char[] variable.
Diffstat (limited to 'tabbed.c')
-rw-r--r-- | tabbed.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -152,6 +152,7 @@ static Atom wmatom[WMLast], netatom[NetLast], xembedatom; static Window root, win; static Client *clients = NULL, *sel = NULL; static int (*xerrorxlib)(Display *, XErrorEvent *); +static char winid[128]; /* configuration, allows nested code to access above variables */ #include "config.h" @@ -686,6 +687,7 @@ setup(void) { class_hint.res_name = "tabbed"; class_hint.res_class = "Tabbed"; XSetClassHint(dpy, win, &class_hint); + snprintf(winid, LENGTH(winid), "%u", (int)win); } void |