]> git.sur5r.net Git - i3/i3/commitdiff
don’t fix coordinates/change focus/warp when source_output was scratchpad
authorMichael Stapelberg <michael@stapelberg.de>
Fri, 23 Jan 2015 16:07:31 +0000 (17:07 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Fri, 23 Jan 2015 16:07:31 +0000 (17:07 +0100)
src/con.c

index 38ea0585e17f0887e178d0304f04ea6153a62e85..524008ce00df11d897db9b59f4dbecae2d7c68aa 100644 (file)
--- 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) {