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: Sat, 25 Jan 2020 09:42:19 +0100

> GNOME Shell, Lucid Emacs:
>
> Frame size history of #<frame test child-frame 0x55c2abb444a0>
> 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) (754 722 0)
> x-net-wm-state         nil (nil nil)
> EmacsFrameResize     (720 360 720 720) (754 722 0 0 2)
> EmacsFrameResize     (720 360 720 720) (754 722 0 0 2)
> adjust-frame-size-1     (720 360 720 720) (change-frame-size 5)
> adjust-frame-size-3     (720 360 720 720) (754 362 754 722)
> EmacsFrameResize     (720 720 720 720) (754 722 0 0 2)
> EmacsFrameResize     (720 720 720 720) (754 722 0 0 2)
> adjust-frame-size-1     (720 720 720 720) (change-frame-size 5)

Thanks.  I have to look into why we end up getting the EmacsFrameResize
requests twice in a row (and am meanwhile stupefied by a comment like

  /* Some ConfigureNotify events does not end up in EmacsFrameResize so
     make sure we get them all.  Seen with xfcwm4 for example.  */

in widget.c).  This will probably take some time.

Otherwise, your numbers seem to confirm tumashu's results, with scaling
(wherever that comes from).

martin



reply via email to

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