Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
dwm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixing updatetitle
[dwm.git]
/
dwm.c
diff --git
a/dwm.c
b/dwm.c
index
4d1493b
..
bfeae15
100644
(file)
--- a/
dwm.c
+++ b/
dwm.c
@@
-1052,6
+1052,7
@@
manage(Window w, XWindowAttributes *wa) {
die("fatal: could not malloc() %u bytes\n", sizeof(Client));
*c = cz;
c->win = w;
die("fatal: could not malloc() %u bytes\n", sizeof(Client));
*c = cz;
c->win = w;
+ updatetitle(c);
if(XGetTransientForHint(dpy, w, &trans))
t = wintoclient(trans);
if(t) {
if(XGetTransientForHint(dpy, w, &trans))
t = wintoclient(trans);
if(t) {
@@
-1091,7
+1092,6
@@
manage(Window w, XWindowAttributes *wa) {
updatesizehints(c);
XSelectInput(dpy, w, EnterWindowMask|FocusChangeMask|PropertyChangeMask|StructureNotifyMask);
grabbuttons(c, False);
updatesizehints(c);
XSelectInput(dpy, w, EnterWindowMask|FocusChangeMask|PropertyChangeMask|StructureNotifyMask);
grabbuttons(c, False);
- updatetitle(c);
if(!c->isfloating)
c->isfloating = trans != None || c->isfixed;
if(c->isfloating)
if(!c->isfloating)
c->isfloating = trans != None || c->isfixed;
if(c->isfloating)