Re: Patch to save memory and speed up StyleTab

fuchur <[email protected]> Tue, 19 Aug 2014 23:04:40 +0200
Newsgroups gmane.comp.window-managers.sawfish
Organization W.W
Message-ID <[email protected]>
Hi,

On Tue, 19 Aug 2014 22:20:17 +0200
wrote Christopher Roy Bratusek <[email protected]>:

>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
signature.asc (application/pgp-signature, 181 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlPzu+kACgkQ5bxw1bjXsrCFpgCgqN1e3UC+b/gPQKzmF/3N21Ql
MDEAn0hFmSSfUg5pb/UzBG4tydTp1xKN
=t2+3
-----END PGP SIGNATURE-----