about summary refs log tree commit diff stats
path: root/main.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@gmail.com>2007-08-22 19:01:05 +0200
committerAnselm R. Garbe <garbeam@gmail.com>2007-08-22 19:01:05 +0200
commit36672d0401299a5230b516ca4575365d9f45dd35 (patch)
tree3770848e8bec981cdc239d0e89b2a241f2bdfc67 /main.c
parentb18e6840152b300f2db8ff8dca16aee0839f864b (diff)
downloaddwm-36672d0401299a5230b516ca4575365d9f45dd35.tar.gz
removed the _DWM_PROPERTIES handling, reverted ban/unban to XMoveWindow(), and changed argument of setlayout to layout[N].symbol check
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/main.c b/main.c
index 79b301d..338fed4 100644
--- a/main.c
+++ b/main.c
@@ -20,7 +20,7 @@ int screen, sx, sy, sw, sh, wax, way, waw, wah;
 unsigned int bh, ntags;
 unsigned int bpos = BARPOS;
 unsigned int numlockmask = 0;
-Atom dwmprops, wmatom[WMLast], netatom[NetLast];
+Atom wmatom[WMLast], netatom[NetLast];
 Bool *seltags;
 Bool selscreen = True;
 Client *clients = NULL;
@@ -42,7 +42,7 @@ cleanup(void) {
 	close(STDIN_FILENO);
 	while(stack) {
 		unban(stack);
-		unmanage(stack, NormalState);
+		unmanage(stack);
 	}
 	if(dc.font.set)
 		XFreeFontSet(dpy, dc.font.set);
@@ -165,7 +165,6 @@ setup(void) {
 	XSetWindowAttributes wa;
 
 	/* init atoms */
-	dwmprops = XInternAtom(dpy, "_DWM_PROPERTIES", False);
 	wmatom[WMProtocols] = XInternAtom(dpy, "WM_PROTOCOLS", False);
 	wmatom[WMDelete] = XInternAtom(dpy, "WM_DELETE_WINDOW", False);
 	wmatom[WMName] = XInternAtom(dpy, "WM_NAME", False);
@@ -231,7 +230,6 @@ setup(void) {
 		XSetFont(dpy, dc.gc, dc.font.xfont->fid);
 	/* multihead support */
 	selscreen = XQueryPointer(dpy, root, &w, &w, &i, &i, &i, &i, &mask);
-	getdwmprops();
 }
 
 /*
le='Blame the previous revision' href='/acidbong/suckless/dwm/blame/config.def.h?h=5.8.1&id=98e7950be812d20fc33f597641819561ee90fc0e'>^
349d768 ^
39d1ecd ^

f196b71 ^
3794c62 ^
f196b71 ^
a8e0772 ^

5497268 ^
a8e0772 ^
2d4faae ^


3794c62 ^

f196b71 ^
349d768 ^
0fe2e78 ^





a8e0772 ^
349d768 ^
c565336 ^

a8e0772 ^






















b515765 ^
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
65
66
67
68
69
70