aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorgotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-07-17 16:54:33 +0000
committergotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-07-17 16:54:33 +0000
commit8ade0f33cb95aab63b5d791d18a646551a2a5efe (patch)
tree63dc3d2f6df5aa6019d337a36638a749b00e07cd /main.c
parentce985eb81152566fd0ff514fe5100a2489421e92 (diff)
downloaddzen-8ade0f33cb95aab63b5d791d18a646551a2a5efe.tar.gz
dzen-8ade0f33cb95aab63b5d791d18a646551a2a5efe.zip
give dzen windows names
git-svn-id: http://dzen.googlecode.com/svn/trunk@129 f2baff5b-bf2c-0410-a398-912abdc3d8b2
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.c b/main.c
index bd8c800..7e01a4f 100644
--- a/main.c
+++ b/main.c
@@ -350,6 +350,7 @@ x_create_windows(void) {
CWOverrideRedirect | CWBackPixmap | CWEventMask, &wa);
dzen.title_win.drawable = XCreatePixmap(dzen.dpy, root, dzen.title_win.width,
dzen.line_height, DefaultDepth(dzen.dpy, dzen.screen));
+ XStoreName(dzen.dpy, dzen.title_win.win, "dzen title");
/* set some hints for windowmanagers*/
set_net_wm_strut_partial_for(dzen.dpy, dzen.title_win.win);
@@ -379,6 +380,7 @@ x_create_windows(void) {
DefaultDepth(dzen.dpy, dzen.screen), CopyFromParent,
DefaultVisual(dzen.dpy, dzen.screen),
CWOverrideRedirect | CWBackPixmap | CWEventMask, &wa);
+ XStoreName(dzen.dpy, dzen.slave_win.win, "dzen slave");
for(i=0; i < dzen.slave_win.max_lines; i++)
dzen.slave_win.drawable[i] = XCreatePixmap(dzen.dpy, root, ew+r,
@@ -412,6 +414,7 @@ x_create_windows(void) {
DefaultDepth(dzen.dpy, dzen.screen), CopyFromParent,
DefaultVisual(dzen.dpy, dzen.screen),
CWOverrideRedirect | CWBackPixmap | CWEventMask, &wa);
+ XStoreName(dzen.dpy, dzen.slave_win.win, "dzen slave");
for(i=0; i < dzen.slave_win.max_lines; i++)
dzen.slave_win.drawable[i] = XCreatePixmap(dzen.dpy, root, dzen.slave_win.width,