Revise workspace next/prev
See the issue #1798 (http://github.com/i3/i3/issues/1798). +workspace_next+ as-is cycles through either numbered or named workspaces, but when it reaches the last numbered/named workspace, it only looks for named workspaces. This commit changes it: look for named workspaces after exhausting numbered ones, but also for numbered ones after exhausting named ones. Also add a test case 528-workspace-next-prev.t (numbered workspaces and named workspaces on 2 outputs) for testing this.
This commit is contained in:
@ -1849,6 +1849,10 @@ container to workspace next+, +move container to workspace prev+ to move a
|
||||
container to the next/previous workspace and +move container to workspace current+
|
||||
(the last one makes sense only when used with criteria).
|
||||
|
||||
+workspace next+ cycles through either numbered or named workspaces. But when it
|
||||
reaches the last numbered/named workspace, it looks for named workspaces after
|
||||
exhausting numbered ones and looks for numbered ones after exhausting named ones.
|
||||
|
||||
See <<move_to_outputs>> for how to move a container/workspace to a different
|
||||
RandR output.
|
||||
|
||||
|
Reference in New Issue
Block a user