From 94808019277991a404a0a39e2a27ca1574072f3c Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Fri, 23 Jan 2015 17:07:31 +0100 Subject: [PATCH] =?utf8?q?don=E2=80=99t=20fix=20coordinates/change=20focus?= =?utf8?q?/warp=20when=20source=5Foutput=20was=20scratchpad?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/con.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.5