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: martin rudalics
Subject: Re: Emacs's set-frame-size can not work well with gnome-shell?
Date: Thu, 30 Jan 2020 10:38:04 +0100

>> 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

      f = x_top_window_to_frame (dpyinfo, configureEvent.xconfigure.window);

around line 8927 in xterm.c and do "n" after that breakpoint is hit,
what do you get if you do p f now?

martin



reply via email to

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