Re: [Sawfish] Patch to save memory and speed up StyleTab

[ Thread Index | Date Index | More lists.tuxfamily.org/sawfish Archives ]


Hi,

On Tue, 19 Aug 2014 22:20:17 +0200
wrote Christopher Roy Bratusek <nano@xxxxxxxxxxxxx>:

>Though I added frame-style-tabbars to 
>Elberg-tabbed and gradient-tabbed aswell, seems you've left them out.

That is not necessary, it is wrong. This themes don't have tabbars on
left/right or bottom. You have add in this themes:

+(define (frame-style-tabbars w)
+ (when (eq (window-get w 'current-frame-style) theme-name)
+ (set-tab-theme-tabbars #:frame-style-supported-tabbars (list theme-name styletab-c:titlebar-place)))) 
									  ^^^^^^^^^^^^^^^^^^^^^^^^^			

This themes don't know/have styletab-c:titlebar-place this has only styletab and we check this in tabgroup.jl

(if (not (eq (window-get win 'current-frame-style) (nth 0 (frame-style-tabbars-support win))))


-- 
Regards,
Fuchur

GPG Fingerprint: CA3B 8204 5B3E 6D48 6D53  C116 E5BC 70D5 B8D7 B2B0

Attachment: signature.asc
Description: PGP signature



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/