diff options
| author | bakkeby <[email protected]> | 2022-07-04 13:07:36 +0200 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2022-07-04 13:07:36 +0200 |
| commit | 279c571986a8c9b22acf4fe462e3d1470bf2925e (patch) | |
| tree | da80a75bce27b20a060bfe9b619342e351192f69 /patch/shiftviewclients.c | |
| parent | a15a25992646856066e986d070be5aa6a28e9d2b (diff) | |
| download | dwm-flexipatch-279c571986a8c9b22acf4fe462e3d1470bf2925e.tar.gz dwm-flexipatch-279c571986a8c9b22acf4fe462e3d1470bf2925e.zip | |
Adding shifttagclients patch ref. #270
Diffstat (limited to 'patch/shiftviewclients.c')
| -rw-r--r-- | patch/shiftviewclients.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/patch/shiftviewclients.c b/patch/shiftviewclients.c index 5755e7c..f64f42b 100644 --- a/patch/shiftviewclients.c +++ b/patch/shiftviewclients.c @@ -10,6 +10,8 @@ shiftviewclients(const Arg *arg) for (selmon = mons; selmon; selmon = selmon->next) #endif // TAGSYNC_PATCH for (c = selmon->clients; c; c = c->next) { + if (c == selmon->sel) + continue; #if SCRATCHPADS_PATCH && !RENAMED_SCRATCHPADS_PATCH if (!(c->tags & SPTAGMASK)) tagmask = tagmask | c->tags; @@ -44,4 +46,3 @@ shiftviewclients(const Arg *arg) view(&shifted); } - |
