diff options
| author | anselm@x200s.config <unknown> | 2009-07-12 22:34:29 +0100 |
|---|---|---|
| committer | anselm@x200s.config <unknown> | 2009-07-12 22:34:29 +0100 |
| commit | fc21dd4b7e65bb511ac10f8bd8f469fe0f00a76e (patch) | |
| tree | 4dba1eff16c12c857e08cb0215a7d7566061af9a /dwm.c | |
| parent | extended rule to apply monitors if set up accordingly (diff) | |
| download | dwm-fc21dd4b7e65bb511ac10f8bd8f469fe0f00a76e.tar.gz dwm-fc21dd4b7e65bb511ac10f8bd8f469fe0f00a76e.zip | |
fixing updatetitle
Diffstat (limited to '')
| -rw-r--r-- | dwm.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -1052,6 +1052,7 @@ manage(Window w, XWindowAttributes *wa) { | |||
| 1052 | die("fatal: could not malloc() %u bytes\n", sizeof(Client)); | 1052 | die("fatal: could not malloc() %u bytes\n", sizeof(Client)); |
| 1053 | *c = cz; | 1053 | *c = cz; |
| 1054 | c->win = w; | 1054 | c->win = w; |
| 1055 | updatetitle(c); | ||
| 1055 | if(XGetTransientForHint(dpy, w, &trans)) | 1056 | if(XGetTransientForHint(dpy, w, &trans)) |
| 1056 | t = wintoclient(trans); | 1057 | t = wintoclient(trans); |
| 1057 | if(t) { | 1058 | if(t) { |
| @@ -1091,7 +1092,6 @@ manage(Window w, XWindowAttributes *wa) { | |||
| 1091 | updatesizehints(c); | 1092 | updatesizehints(c); |
| 1092 | XSelectInput(dpy, w, EnterWindowMask|FocusChangeMask|PropertyChangeMask|StructureNotifyMask); | 1093 | XSelectInput(dpy, w, EnterWindowMask|FocusChangeMask|PropertyChangeMask|StructureNotifyMask); |
| 1093 | grabbuttons(c, False); | 1094 | grabbuttons(c, False); |
| 1094 | updatetitle(c); | ||
| 1095 | if(!c->isfloating) | 1095 | if(!c->isfloating) |
| 1096 | c->isfloating = trans != None || c->isfixed; | 1096 | c->isfloating = trans != None || c->isfixed; |
| 1097 | if(c->isfloating) | 1097 | if(c->isfloating) |
