Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
added comment to %u in config.default.h, added Button{4.5} support on mode label
[dwm.git]
/
client.c
diff --git
a/client.c
b/client.c
index
a02dda5
..
8110263
100644
(file)
--- a/
client.c
+++ b/
client.c
@@
-1,4
+1,4
@@
-/* (C)opyright MMVI Anselm R. Garbe <garbeam at gmail dot com>
+/* (C)opyright MMVI
-MMVII
Anselm R. Garbe <garbeam at gmail dot com>
* See LICENSE file for license details.
*/
#include "dwm.h"
* See LICENSE file for license details.
*/
#include "dwm.h"
@@
-96,7
+96,7
@@
focus(Client *c) {
sel = c;
if(old) {
grabbuttons(old, False);
sel = c;
if(old) {
grabbuttons(old, False);
- draw
title
(old);
+ draw
client
(old);
}
}
if(c) {
}
}
if(c) {
@@
-104,7
+104,7
@@
focus(Client *c) {
c->snext = stack;
stack = c;
grabbuttons(c, True);
c->snext = stack;
stack = c;
grabbuttons(c, True);
- draw
title
(c);
+ draw
client
(c);
XSetInputFocus(dpy, c->win, RevertToPointerRoot, CurrentTime);
}
else
XSetInputFocus(dpy, c->win, RevertToPointerRoot, CurrentTime);
}
else