Skip to content
This repository has been archived by the owner on Sep 29, 2021. It is now read-only.

Commit

Permalink
Fixing client_sendtows()
Browse files Browse the repository at this point in the history
  • Loading branch information
phillbush committed Aug 9, 2020
1 parent e0ffcbb commit 9b17f66
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions client.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9b17f66

Please sign in to comment.