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.

pull/32/head
bakkeby 4 years ago
parent fa6e3d9500
commit 60209c98d7

@ -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…
Cancel
Save