fixed titlebar not being updated - issue #16
This commit is contained in:
parent
236c6a7f2f
commit
6f7de76199
1 changed files with 3 additions and 3 deletions
6
dwm.c
6
dwm.c
|
@ -1369,12 +1369,12 @@ propertynotify(XEvent *e)
|
||||||
Window trans;
|
Window trans;
|
||||||
XPropertyEvent *ev = &e->xproperty;
|
XPropertyEvent *ev = &e->xproperty;
|
||||||
|
|
||||||
if ((ev->window == root) && (ev->atom == XA_WM_NAME))
|
if ((ev->window == root) && (ev->atom == XA_WM_NAME)) {
|
||||||
if (!fake_signal())
|
if (!fake_signal())
|
||||||
updatestatus();
|
updatestatus();
|
||||||
else if (ev->state == PropertyDelete)
|
} else if (ev->state == PropertyDelete) {
|
||||||
return; /* ignore */
|
return; /* ignore */
|
||||||
else if ((c = wintoclient(ev->window))) {
|
} else if ((c = wintoclient(ev->window))) {
|
||||||
switch(ev->atom) {
|
switch(ev->atom) {
|
||||||
default: break;
|
default: break;
|
||||||
case XA_WM_TRANSIENT_FOR:
|
case XA_WM_TRANSIENT_FOR:
|
||||||
|
|
Loading…
Reference in a new issue