From: Michael Stapelberg Date: Fri, 23 Jan 2015 16:07:31 +0000 (+0100) Subject: don’t fix coordinates/change focus/warp when source_output was scratchpad X-Git-Tag: 4.9~21 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=94808019277991a404a0a39e2a27ca1574072f3c;p=i3%2Fi3 don’t fix coordinates/change focus/warp when source_output was scratchpad --- diff --git a/src/con.c b/src/con.c index 38ea0585..524008ce 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) { + if (source_output != dest_output && !con_is_internal(source_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) {