diff options
| author | bakkeby <[email protected]> | 2020-01-25 18:37:35 +0100 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2020-01-25 18:37:35 +0100 |
| commit | 60209c98d773c37e4def81e5334fa159d86fac45 (patch) | |
| tree | beda06618376d94277a8b00fdd1aa67ddb335339 | |
| parent | fa6e3d95000d70f93e2ca9c11bd122fd162b7820 (diff) | |
| download | dwm-flexipatch-60209c98d773c37e4def81e5334fa159d86fac45.tar.gz dwm-flexipatch-60209c98d773c37e4def81e5334fa159d86fac45.zip | |
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.
| -rw-r--r-- | dwm.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |
