emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs's set-frame-size can not work well with gnome-shell?


From: Dmitry Gutov
Subject: Re: Emacs's set-frame-size can not work well with gnome-shell?
Date: Thu, 30 Jan 2020 20:32:04 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

On 30.01.2020 12:38, martin rudalics wrote:
>> Can you enable the 'frame-size-history' here?  The ingredient would be a
 >> gtk build with xterm.diff applied loading the old resize child frame
 >> code.  Then eval
 >>
 >> (progn
 >>    (setq frame-size-history '(100))
 >>    (resize-test test-frame)
 >>    (frame--size-history test-frame)
 >>    (display-buffer "*frame-size-history*"))
 >>
 >> and post the result.
 >
 > Here you go. It's a little different, but not by much. :-(
 >
 > Frame size history of #<frame test child-frame 0x55a43258efd0>
 > adjust-frame-size-1     (720 360 720 720) (height 1)
 > adjust-frame-size-2     (720 360 720 720) (nil nil)
 > x-set-window-size-3     (720 360 720 720) (768 720 0)

I suppose it does nothing because it cannot get a top frame.  If you put
a breakpoint within 'set-frame-height' run the usual 'resize-test' and
when that breakpoint is hit set a breakpoint at

Before I do that... there's something I failed to notice before: the frame *does* get resized, in a sense. At least X seems to think so, but Emacs doesn't.

Notice the white area of the same height as the child frame hiding the text in the parent frame on the attached screenshot. Also note that the yellow background didn't help: the area is white.

This only happens with xterm.diff applied, never without it.

Attachment: Screenshot from 2020-01-30 20-23-35.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]