[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error displaying a frame modified with (tool-bar-lines . 0)
From: |
Eli Zaretskii |
Subject: |
Re: Error displaying a frame modified with (tool-bar-lines . 0) |
Date: |
Tue, 25 Mar 2014 17:45:11 +0200 |
> From: Juanma Barranquero <address@hidden>
> Date: Tue, 25 Mar 2014 13:45:00 +0100
>
> After much back and forth, bug#17046 has been determined to be that running
>
> emacs -Q -l bug.el
>
> with bug.el:
>
> ;;; bug.el
> (let* ((default-frame-alist nil)
> (frame (make-frame '((width . 80) (height . 20))))
> (lines (frame-parameter frame 'tool-bar-lines)))
> (discard-input)
> (read-event nil nil 2)
> (modify-frame-parameters frame '((tool-bar-lines . 0)
> (width . 60) (height . 25)))
> (modify-frame-parameters frame `((tool-bar-lines . ,lines))))
> ;;, end
>
> causes the frame to be redisplayed incorrectly (the trigger being the
> (tool-bar-lines .0) parameter:
>
> http://debbugs.gnu.org/cgi/bugreport.cgi?msg=26;filename=emacs-sshot.png;att=1;bug=17046
Is this GTK-specific? (I don't see the problem on Windows.) Did
someone try this with Lucid, or without any toolkits?