From: Michael Stapelberg Date: Fri, 23 Jan 2015 16:11:05 +0000 (+0100) Subject: Revert "don’t fix coordinates/change focus/warp when source_output was scratchpad" X-Git-Tag: 4.9~20 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=073ecdd7114a2ce680d4000d4172de19e12e0563;p=i3%2Fi3 Revert "don’t fix coordinates/change focus/warp when source_output was scratchpad" This reverts commit 94808019277991a404a0a39e2a27ca1574072f3c. This causes focus issues. --- diff --git a/src/con.c b/src/con.c index 524008ce..38ea0585 100644 --- a/src/con.c +++ b/src/con.c @@ -771,7 +771,7 @@ void con_move_to_workspace(Con *con, Con *workspace, bool fix_coordinates, bool next = ws; } - if (source_output != dest_output && !con_is_internal(source_output)) { + if (source_output != dest_output) { /* Take the relative coordinates of the current output, then add them * to the coordinate space of the correct output */ if (fix_coordinates && con->type == CT_FLOATING_CON) {