Re: make decorate-transients as defcustom not work

fuchur <[email protected]>
Newsgroups gmane.comp.window-managers.sawfish
Organization W.W
Message-ID <[email protected]>
Hi,

On Wed, 5 Sep 2012 19:40:52 +0200
wrote fuchur <[email protected]>:

>Hi,
>
>On Wed, 05 Sep 2012 20:41:24 +0200
>wrote Christopher Roy Bratusek <[email protected]>:
>
>>On Tuesday 04 September 2012 22:51:30 fuchur wrote:
>>> Hi,
>>> 
>>> The new "defcustom decorate-transients" not work. sawfish-config don't
>>> remember the setting and sawfish-client returns by decorate-transients
>>> always nil. My settings (~./sawfish/rc) wrong?
>>
>>Forgot to remove decorate-transients from lisp/sawfish/wm/util/compat.jl (that 
>>prevents setting from sawfish-config). But I'm unable to git push atm, seems 
>>git.tuxfamily.org is down...
>>
>>Chris
>
>Also the theme.jl files should know if decorate-transients is set.
>For StyleTab i need something like this:
>
>
>(define (get-frame w type)
>  (let ((current-title
>         (if (not (window-get w 'title-position))
>             (case mystyletab:titlebar-place
>                   ((top)    'top)
>                   ((bottom) 'bottom)
>                   ((left)   'left)
>                   ((right)  'right))
>           (window-get w 'title-position))))
>    (case type
>          ((default)
>           (make-frame w 'normal-frame current-title))
>          ((utility)
>           (make-frame w 'normal-frame current-title))
>          ((shaded-utility)
>           (make-frame w 'normal-frame current-title))
>          ((transient)
>           (if decorate-transients
>               (make-frame w 'normal-frame current-title)
>             (make-frame w 'transient-frame current-title)))
>          ((shaped)
>           (make-frame w 'shaped-frame current-title))
>          ((shaped-transient)
>           (if decorate-transients
>               (make-frame w 'normal-frame current-title)
>             (make-frame w 'shaped-transient-frame current-title))))))
>
>
>With the changes in compat.jl, in theme.jl from StyleTab
>"decorate-transients" is always nil. 
>

Forget it. StyleTab will never support "decorate-transients". Search
for "transients" in theme.jl and you will see why. And
"decorate-transients" is illogical. If window transient then use
frametyp transient etc.

-- 
Regards,
Fuchur

GPG Fingerprint: CA3B 8204 5B3E 6D48 6D53  C116 E5BC 70D5 B8D7 B2B0
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iEYEARECAAYFAlBHkv4ACgkQ5bxw1bjXsrDAKwCfftaEObphhIkrTdkwdZaYOsty
6j8An0cIysqMT+akHeJ9+j4zrNBKhnFs
=+Yon
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.