After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 80291 - "wrap-around" workspace switching
"wrap-around" workspace switching
Status: RESOLVED DUPLICATE of bug 89315
Product: metacity
Classification: Other
Component: general
unspecified
Other other
: Normal enhancement
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
Depends on:
Blocks:
 
 
Reported: 2002-04-30 01:26 UTC by Bastien Nocera
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
patch to implement the feature (1.52 KB, patch)
2002-05-02 16:53 UTC, Bastien Nocera
none Details | Review
second patch from havoc's advice (1.51 KB, patch)
2002-05-05 00:01 UTC, Bastien Nocera
none Details | Review

Description Bastien Nocera 2002-04-30 01:26:07 UTC
I'd like to be able to move back to the first workspace when I'm pressing
"Ctrl+Alt+Right" and I'm in the last workspace, vice-versa for the first one.

This is probably a very small change to the source, and maybe the addition
of a preference (although I don't see why somebody would disable this).

Would you agree to include this in CVS if I was to submit a patch ?
Comment 1 Bastien Nocera 2002-04-30 01:36:58 UTC
Just so that I remember when I make the patch (and can test it),
changes are required only in src/display.c
meta_display_get_workspace_by_index().
Comment 2 Bastien Nocera 2002-05-02 16:53:14 UTC
Created attachment 8124 [details] [review]
patch to implement the feature
Comment 3 Bastien Nocera 2002-05-05 00:01:53 UTC
Created attachment 8178 [details] [review]
second patch from havoc's advice
Comment 4 Bastien Nocera 2002-05-05 00:14:29 UTC
2002-05-05  Bastien Nocera  <hadess@hadess.net>

        * src/workspace.c: (meta_workspace_get_neighbor):
        Wrap-around workspaces (ie. when on the last workspace,
        "switch_to_workspace_right" goes back to the
        first one)

Fixed with a working version.
Comment 5 Bastien Nocera 2003-05-15 10:07:39 UTC
Reopening this, as it was dumped some time ago.

Havoc, can you let me know what would be needed to readd this?
Comment 6 Havoc Pennington 2003-05-17 01:37:46 UTC
Already been discussed into the floor, bug #89315 according to 
rationales.txt

I don't think it's a reasonable preference, really.

*** This bug has been marked as a duplicate of 89315 ***