Need help with a small patch



Hi all,

I've made a small patch to fix a small issue but sadly introduced another one instead ...

Fixed issue: When running in a desktop environment animation move to 'icon-position even if animation-outline-coords are customized

New issue: When animation-outline-coords are *not* customized 'icon-position is not detected correctly anymore, it always uses the pre-defined animation-outline-coords, but I dont't see the point:

diff --git a/lisp/sawfish/wm/animation/outline.jl b/lisp/sawfish/wm/animation/outline.jl
index c47465e..caf7dcd 100644
--- a/lisp/sawfish/wm/animation/outline.jl
+++ b/lisp/sawfish/wm/animation/outline.jl
@@ -117,8 +117,10 @@
         (if (window-get w 'iconified)
             (anim-outline-run w mode (window-position w)
                               (window-frame-dimensions w)
-                              (or (window-get w 'icon-position)
-                                  anim-outline-icon-coords)
+                              (unless (variable-customized-p 'anim-outline-icon-coords)
+                                (or (window-get w 'icon-position)
+                                    anim-outline-icon-coords)
+                              anim-outline-icon-coords)
                               '(1 . 1)))))))

   (define (make-outline-animator mode)

anyone else gets that issue?

Thanks in advance,
Chris

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]