Re: ** to GIT source users ** Some incompatibility in "StyleTab"



Hi,

On Fri, 11 Feb 2011 20:20:18 +0100
wrote fuchur <flohtransporter gmail com>:

>Hi,
>
>On Fri, 11 Feb 2011 19:20:57 +0100
>wrote fuchur <flohtransporter gmail com>:
>
>>2. Icon switch with tabbed windows, redraw not correct (see screenshot).
>
>A patch to fix this.
>

Sometimes i am to fast. Sorry.
This one should work much better (to the last git).

-- 
Regards,
Fuchur

GPG Fingerprint: CA3B 8204 5B3E 6D48 6D53  C116 E5BC 70D5 B8D7 B2B0
diff -urNad sawfish-git-9999.orgi/themes/StyleTab/theme.jl sawfish-git-9999/themes/StyleTab/theme.jl
--- sawfish-git-9999.orgi/themes/StyleTab/theme.jl	2011-02-12 00:25:43.000000000 +0100
+++ sawfish-git-9999/themes/StyleTab/theme.jl	2011-02-12 00:29:43.000000000 +0100
@@ -315,12 +315,14 @@
 	(when (<= pos-y 0) (setq pos-y 0))))
     
     (window-put w 'title-position dest)
-    (tab-refresh-group w 'title-position)
     (call-window-hook 'window-state-change-hook w (list '(title-position)))
-    (tab-refresh-group w 'reframe)
+    (reframe-window w)
     (move-window-to w pos-x pos-y)
     (resize-window-to w dim-x dim-y)
-    (tab-refresh-group w 'move)))
+    (when (window-get w 'tabbed)
+      (tab-refresh-group w 'title-position)
+      (tab-refresh-group w 'reframe)
+      (tab-refresh-group w 'move))))
 
 (define (horiz-button1)
   "To left, move tab-bar."

Attachment: signature.asc
Description: PGP signature



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