mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 12:05:45 +00:00
Fixing minor annoyance with the switchtag patch. When closing a window the tag switches back to the previous tag. This fix prevents that from happening when the client has since moved to another monitor.
This commit is contained in:
parent
fa6e3d9500
commit
60209c98d7
4
dwm.c
4
dwm.c
@ -2634,6 +2634,10 @@ sendmon(Client *c, Monitor *m)
|
||||
focus(NULL);
|
||||
arrange(NULL);
|
||||
#endif // EXRESIZE_PATCH
|
||||
#if SWITCHTAG_PATCH
|
||||
if (c->switchtag)
|
||||
c->switchtag = 0;
|
||||
#endif // SWITCHTAG_PATCH
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
x
Reference in New Issue
Block a user