emacs-devel
[Top][All Lists]
Advanced

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

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


From: tumashu
Subject: Re:Re: Emacs's set-frame-size can not work well with gnome-shell?
Date: Thu, 23 Jan 2020 08:39:18 +0800 (CST)
















At 2020-01-23 08:21:13, "Dmitry Gutov" <address@hidden> wrote:
>On 22.01.2020 20:35, martin rudalics wrote:
>
>> Till then please do the following.  With emacs -Q put this modified
>> version of tumashu's code into *scratch*
>> 
>> <...>
>> Please do this for the GTK and Lucid build.  And, replace the body of
>> 'resize-test' with your invisible, resize, visible trick and post the
>> history for that case as well.
>
>Here you go.
>
>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)

I have tested with lucid emacs , the result is below

Frame size history of #<frame test child-frame 0x5566cb63e550>
adjust-frame-size-1      (320 230 320 460) (height 1)
adjust-frame-size-2      (320 230 320 460) (nil nil)
x-set-window-size-3      (320 230 320 460) (354 462 0)
x-net-wm-state           nil (nil nil)
EmacsFrameResize         (320 230 320 460) (354 462 0 0 2)
EmacsFrameResize         (320 230 320 460) (354 462 0 0 2)
adjust-frame-size-1      (320 230 320 460) (change-frame-size 5)
adjust-frame-size-3      (320 230 320 460) (354 232 354 462)
EmacsFrameResize         (320 460 320 460) (354 462 0 0 2)
EmacsFrameResize         (320 460 320 460) (354 462 0 0 2)
adjust-frame-size-1      (320 460 320 460) (change-frame-size 5)




>
>GNOME Shell, GTK Emacs:
>
>Frame size history of #<frame test child-frame 0x5580c2116ea0>
>adjust-frame-size-1     (720 360 720 720) (height 1)
>adjust-frame-size-2     (720 360 720 720) (nil nil)
>xg-frame-set-char-size-3 (720 360 720 720) (384 360)
>
>GNOME Shell, GTK Emacs with modified resize-test:
>
>Frame size history of #<frame test child-frame 0x5649dd2e5640>
>adjust-frame-size-1     (720 360 720 720) (height 1)
>adjust-frame-size-2     (720 360 720 720) (nil nil)
>xg-frame-set-char-size-3 (720 360 720 720) (384 360)
>adjust-frame-size-1     (720 360 720 720) (xg-frame-set-char-size 5)
>adjust-frame-size-3     (720 360 720 720) (768 360 768 720)
>xg-frame-resized        (720 720 720 720) nil

reply via email to

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