about summary refs log tree commit diff stats
path: root/client.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-11 18:53:41 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-11 18:53:41 +0200
commitd6e0e6e9879c144f5d374fca0c015fd6208fc27e (patch)
tree997db1276dc89c44361a56d80a66fb3722f8f2fe /client.c
parentb1669b5c48f71c9a7a919dbf09a1af527c62f69a (diff)
downloaddwm-d6e0e6e9879c144f5d374fca0c015fd6208fc27e.tar.gz
several changes, new stuff
Diffstat (limited to 'client.c')
-rw-r--r--client.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/client.c b/client.c
index f87fb80..9407f0a 100644
--- a/client.c
+++ b/client.c
@@ -35,6 +35,10 @@ update_name(Client *c)
 		}
 	}
 	XFree(name.value);
+	if(c == stack)
+		draw_bar();
+	else
+		draw_client(c);
 }
 
 void
@@ -66,6 +70,7 @@ manage(Window w, XWindowAttributes *wa)
 	c->r[RFloat].height = wa->height;
 	c->border = wa->border_width;
 	XSetWindowBorderWidth(dpy, c->win, 0);
+	XSelectInput(dpy, c->win, StructureNotifyMask | PropertyChangeMask | EnterWindowMask);
 	XGetTransientForHint(dpy, c->win, &c->trans);
 	if(!XGetWMNormalHints(dpy, c->win, &c->size, &msize) || !c->size.flags)
 		c->size.flags = PSize;
suckless/dwm/commit/config.default.h?h=4.5&id=ceea528eff5ccd1bbd11696209fdc60a5383cc41'>ceea528 ^
b55bd70 ^
a3319c6 ^
0045ad8 ^
fbd3109 ^




b55bd70 ^
19390b1 ^
97ced11 ^
0b80d18 ^
19390b1 ^
b515765 ^

b515765 ^
19dcbc5 ^






8c4623d ^

42fd392 ^
19dcbc5 ^




1617b95 ^



19dcbc5 ^




1617b95 ^



19dcbc5 ^


42fd392 ^
19dcbc5 ^




1617b95 ^



19dcbc5 ^




1617b95 ^



19dcbc5 ^
b515765 ^

d6a6eca ^
2dd5212 ^
b515765 ^

d6a6eca ^
a08d83b ^
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87