]> git.sur5r.net Git - i3/i3/blobdiff - src/tree.c
Make get_output_next() work with non-aligned RandR setups (+test) (Thanks Feh, swh...
[i3/i3] / src / tree.c
index 4f34946cc58c13e654c8ad031e68d859f65dde6d..3d598d50ab8014410ad9a5c38eb956564f98cd6a 100644 (file)
@@ -486,7 +486,7 @@ static bool _tree_next(Con *con, char way, orientation_t orientation, bool wrap)
         else
             return false;
 
-        next_output = get_output_next(direction, current_output);
+        next_output = get_output_next(direction, current_output, CLOSEST_OUTPUT);
         if (!next_output)
             return false;
         DLOG("Next output is %s\n", next_output->name);