diff options
Diffstat (limited to '')
| -rw-r--r-- | dwm.c | 7 |
1 files changed, 4 insertions, 3 deletions
| @@ -1870,10 +1870,11 @@ void | |||
| 1870 | updatewmhints(Client *c) { | 1870 | updatewmhints(Client *c) { |
| 1871 | XWMHints *wmh; | 1871 | XWMHints *wmh; |
| 1872 | 1872 | ||
| 1873 | if(c == sel) | ||
| 1874 | return; | ||
| 1875 | if((wmh = XGetWMHints(dpy, c->win))) { | 1873 | if((wmh = XGetWMHints(dpy, c->win))) { |
| 1876 | c->isurgent = (wmh->flags & XUrgencyHint) ? True : False; | 1874 | if(c == sel) |
| 1875 | sel->isurgent = False; | ||
| 1876 | else | ||
| 1877 | c->isurgent = (wmh->flags & XUrgencyHint) ? True : False; | ||
| 1877 | XFree(wmh); | 1878 | XFree(wmh); |
| 1878 | } | 1879 | } |
| 1879 | } | 1880 | } |
