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, 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. -- 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) iEYEARECAAYFAlBHjqQACgkQ5bxw1bjXsrC1twCgnq1NZjtNXFoXwhDLQvEmR2y5 3PcAn2akWU/WkS9xu5kRZmf782dR6Uh2 =OZvt -----END PGP SIGNATURE-----