Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Workspace wrap in marco #80

dhasenan opened this Issue Dec 30, 2011 · 7 comments


None yet
5 participants


I'd like an option (mateconf probably, maybe in UI) allowing toroidal workspace navigation.

Specifically, navigating up from a workspace on the top row should keep the same column and go to the bottom row. Navigating from the leftmost column should go to the rightmost column in the same row.

Let's say you have a 3-by-3 grid:
1 2 3
4 5 6
7 8 9

Going left from #1 goes to #3. Going up from #2 goes to #8.

The necessary changes are in marco: src/core/workspaces.c, line 842 or so.


perberos commented Jan 19, 2012


lndl commented Sep 22, 2012

Doesn't seem to work in "my marco"

I tried to force a toroidal configuration by making these changes in workspace.c : meta_workspace_get_neighbor the following line:
/* wrap = meta_prefs_get_wrap_style(); / / line 822 */

However, i don't see any workspace wrapping...

The current version implements a different style of wrapping than I wanted, and it isn't toroidal. It's a sort of spiral style.

1 2 3
4 5 6
7 8 9

left from #1 -> #9
right from #3 -> #4

This is OSX style.

Confusingly, going up from #2 goes to #7, and up from #3 goes to #8.

I think 'classic' and 'toroidal' are switched around. 'classic' is what I want, but mateconf describes it as in my previous comment.

lndl commented Sep 30, 2012

I don't see any wrapping: I try to drag a window outside the current desktop, however, i can't make it. Previous to force a wrapping style in the code, I used mateconf but nothing changed.


I would like to drag any window, and it appear on the next workspace, in a circular style: 1>2>3>4>1 and 1<4<3<2<1

it doesn't now, and used to in gnome2 I think (maybe I changed a config) could anyone say how to set it like this, or where to modify the code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment