~ruther/dwl

3787e1d356af7f59f6f096e2125233ab29617862 — wochap 1 year, 9 days ago 9f29afe
fix: move window to focused monitor if necessary
1 files changed, 10 insertions(+), 2 deletions(-)

M dwl.c
M dwl.c => dwl.c +10 -2
@@ 2520,7 2520,11 @@ focusortogglescratch(const Arg *arg)
			}
		} else {
			// show
			c->tags = selmon->tagset[selmon->seltags];
			if (c->mon == selmon) {
				c->tags = selmon->tagset[selmon->seltags];
			} else {
				setmon(c, selmon, 0);
			}
			focusclient(c, 1);
		}
		arrange(selmon);


@@ 2560,7 2564,11 @@ focusortogglematchingscratch(const Arg *arg)
				}
			} else {
				// show
				c->tags = selmon->tagset[selmon->seltags];
				if (c->mon == selmon) {
					c->tags = selmon->tagset[selmon->seltags];
				} else {
					setmon(c, selmon, 0);
				}
				// focus
				focusclient(c, 1);
			}

Do not follow this link