mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 12:05:45 +00:00
Improved swallow and switchtag compatibility
This commit is contained in:
parent
7c4a0c347f
commit
5848460fff
@ -15,6 +15,8 @@ Refer to [https://dwm.suckless.org/](https://dwm.suckless.org/) for details on t
|
|||||||
|
|
||||||
### Changelog:
|
### Changelog:
|
||||||
|
|
||||||
|
2020-04-23 - Improved swallow and switchtag compatibility
|
||||||
|
|
||||||
2020-04-16 - Upgraded the scratchpad patch to the multiple scratchpads patch \[[ref](https://lists.suckless.org/hackers/2004/17205.html)\]. Updated the statuscolors patch with the width computation fix \[[ref](https://lists.suckless.org/hackers/2004/17207.html)\].
|
2020-04-16 - Upgraded the scratchpad patch to the multiple scratchpads patch \[[ref](https://lists.suckless.org/hackers/2004/17205.html)\]. Updated the statuscolors patch with the width computation fix \[[ref](https://lists.suckless.org/hackers/2004/17207.html)\].
|
||||||
|
|
||||||
2020-04-13 - Added statuscmd patch
|
2020-04-13 - Added statuscmd patch
|
||||||
|
7
dwm.c
7
dwm.c
@ -547,7 +547,12 @@ applyrules(Client *c)
|
|||||||
c->mon = m;
|
c->mon = m;
|
||||||
|
|
||||||
#if SWITCHTAG_PATCH
|
#if SWITCHTAG_PATCH
|
||||||
if (r->switchtag) {
|
#if SWALLOW_PATCH
|
||||||
|
if (r->switchtag && (c->noswallow || !termforwin(c)))
|
||||||
|
#else
|
||||||
|
if (r->switchtag)
|
||||||
|
#endif // SWALLOW_PATCH
|
||||||
|
{
|
||||||
unsigned int newtagset;
|
unsigned int newtagset;
|
||||||
if (r->switchtag == 2)
|
if (r->switchtag == 2)
|
||||||
newtagset = c->mon->tagset[c->mon->seltags] ^ c->tags;
|
newtagset = c->mon->tagset[c->mon->seltags] ^ c->tags;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user