Re: [Sawfish] Re: Patches for styletab and compton

[ Thread Index | Date Index | More Archives ]

try latest git head, it does not fail anymore for me and loads almost instantly.


On 17.09.2014 18:46, fuchur wrote:

On Tue, 16 Sep 2014 17:59:06 +0200
wrote fuchur <flohtransporter@xxxxxxxxx>:


On Mon, 15 Sep 2014 17:28:52 +0200
wrote Christopher Roy Bratusek <nano@xxxxxxxxxxx>:

works fine.

No. I can reproduces this. I have a copy from StyleTab in
~/,sawfish/themes/My-StyleTab. If i start sawfish with StyleTab and
then load My-StyleTab and restart sawfish i got "Lisp backtraces".
I try to fix this (if i found what is wrong).

I now know what the problem is. If you run make-image after the theme
file is loaded sawfish crash. Put this in theme.jl from Styletab after
the other defcustom:

(defvar make-image-start nil)
(setq make-image-start (make-image "Default/left-frame-maximize-button-f.png"))

(defvar make-image-load nil)
(define (make-image-l)
   (setq make-image-load (make-image "Default/left-frame-maximize-button-f.png")))

(defcustom styletab-c:make-image nil "Crash sawfish."
   :group (appearance StyleTab:group)
   :type boolean
   :after-set (lambda () (crash-make-image)))

(defvar crash-image nil)
(define (crash-make-image)
   (setq crash-image (make-image "Default/left-frame-maximize-button-f.png")))

Now restart sawfish. Open sawfish-client:

client > make-image-start
#<image 20x32>
client > make-image-load
#<image 20x32>
client > crash-image

If you now enable or disable the checkbox "Crash sawfish." you got
"Lisp backtraces".

I can't fix this. Can you fix this?

Sawfish ML

Mail converted by MHonArc 2.6.19+