From 9b17f6626792d838bdf8891191cef7ecaf9bc3ec Mon Sep 17 00:00:00 2001 From: phillbush Date: Sun, 9 Aug 2020 13:20:57 -0300 Subject: [PATCH] Fixing client_sendtows() --- client.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/client.c b/client.c index 300b3ea..a4cc53a 100644 --- a/client.c +++ b/client.c @@ -1286,9 +1286,11 @@ client_sendtows(struct Client *c, struct WS *ws, int new, int place, int move) } ewmh_setwmdesktop(); - if (place && ws->mon->selws == ws) { + if (place) { client_place(c, ws); - moveresize(c, c->ux, c->uy, c->uw, c->uh, INCSIZEWH); + if (ws->mon->selws == ws) { + moveresize(c, c->ux, c->uy, c->uw, c->uh, INCSIZEWH); + } } client_raise(c);