]> git.sur5r.net Git - i3/i3/commitdiff
Revert "don’t fix coordinates/change focus/warp when source_output was scratchpad"
authorMichael Stapelberg <michael@stapelberg.de>
Fri, 23 Jan 2015 16:11:05 +0000 (17:11 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Fri, 23 Jan 2015 16:11:05 +0000 (17:11 +0100)
This reverts commit 94808019277991a404a0a39e2a27ca1574072f3c.

This causes focus issues.

src/con.c

index 524008ce00df11d897db9b59f4dbecae2d7c68aa..38ea0585e17f0887e178d0304f04ea6153a62e85 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 && !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) {