Switch to previous desktop

Sami Samhuri sami at no-eff-eks.com
Fri Nov 5 11:42:32 CET 2004


* On Thu Nov-04-2004 at 05:28:08 PM -0500, Andrew Conkling said:
> If I hit my shortcut for "Switch to desktop X" multiple times, it will
> switch back to my previous desktop; is there any way to set it not to do
> that, so if I hit it multiple times it will simply stay on desktop X?

I commented out that part in xfwm because it bugged me too. It seems like an
easy option to add, I might try it some time.

What would you call this feature? no-tricky-workspace-switching?

(Patch for xfwm4/src/workspaces.c to disable this feature)

-- 
Sami Samhuri
-------------- next part --------------
--- workspaces.c	2004-11-05 02:40:15.894920928 -0800
+++ workspaces-no-prev-ws.c	2004-11-05 02:35:13.830841648 -0800
@@ -258,10 +258,12 @@
                       GrabModeAsync, None, None, GDK_CURRENT_TIME);
     }
     
+/*
     if (new_ws == screen_info->current_ws)
     {
          new_ws = screen_info->previous_ws;
     }
+ */
     screen_info->previous_ws = screen_info->current_ws;
     screen_info->current_ws = new_ws;
     if (c2)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce/attachments/20041105/41aa9f00/attachment.pgp>


More information about the Xfce mailing list