Fix select workspace

773pages on
this wiki
Add New Page
Talk0 Share
Browse all patches

Author Edit


Synopsis Edit

Fixes select-workspace in lisp/sawfish/wm/workspace.jl to make sure it uses key params in its call to select-workspace*

This patch is currently applied in the Debian package.


Patch Edit

diff -urNad sawfish-1.3+svn4194~/lisp/sawfish/wm/workspace.jl sawfish-1.3+svn4194/lisp/sawfish/wm/workspace.jl
--- sawfish-1.3+svn4194~/lisp/sawfish/wm/workspace.jl   2003-04-02 20:50:12.000000000 -0600
+++ sawfish-1.3+svn4194/lisp/sawfish/wm/workspace.jl    2007-06-28 18:22:57.225442169 -0500
@@ -562,7 +562,7 @@
        (call-hook 'workspace-state-change-hook))))
   (define (select-workspace space #!optional dont-focus inner-thunk)
-    (select-workspace* space dont-focus inner-thunk))
+    (select-workspace* space #:dont-focus dont-focus #:inner-thunk inner-thunk))
   ;; return a list of all windows on workspace index SPACE
   (define (workspace-windows

Community's reasons for inclusion or rejection Edit

  • Yes vote: yes. Obviously correct. As the link above states select-workspace* expects inner-thunk and dont-focus to be key params. The patch makes sure they are. --Sven Schoenung 08:03, 30 July 2007 (UTC)
  • Yes vote: yes. accepted (patch is alread in debian) Janek Kozicki 00:14, 17 January 2008 (UTC)

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Also on Fandom

Random Wiki