I've put together a patch to sawfish 1.3 to fix an annoying bug where
iconified windows never appeared when cycling due to a bug in the
window-order function, which used window-appears-in-workspace-p
incorrectly.

I've attached this patch; where should it go to? If I understand
correctly, sawfish development has nearly stopped, so gentoo may want to
incorporate this patch itself.

--- /usr/share/sawfish/1.3/lisp/sawfish/wm/util/window-order.jl~
+++ /usr/share/sawfish/1.3/lisp/sawfish/wm/util/window-order.jl
@@ -48,8 +48,11 @@
                                     (and (not allow-iconified)
                                          (window-get w 'iconified))
                                     (and workspace
-                                         (not (window-appears-in-workspace-p
-                                               w workspace)))))
+                                               (not (or (window-in-workspace-p w 
workspace)
+                                                                       (window-get w 
'sticky))))))
                               windows))
       (unless all-viewports
        (setq windows (delete-if window-outside-viewport-p windows)))


-- 
Andrew Farmer
[EMAIL PROTECTED]

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to