emacs-devel
[Top][All Lists]
Advanced

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

Re: Proposing changes to adjust_frame_size


From: Yuuki Harano
Subject: Re: Proposing changes to adjust_frame_size
Date: Mon, 10 May 2021 22:18:30 +0900 (JST)

On Mon, 10 May 2021 10:24:26 +0200,
        martin rudalics <rudalics@gmx.at> wrote:
> Hmmm...  did you try the above without the (tool-bar-lines . 0)?

----------------
(setq frame (make-frame '((width . 60) (height . 20)
                          (left-fringe . 0) (right-fringe . 0)
                          (vertical-scroll-bars . nil)
                          (visibility . nil))))
#<frame emacs@luna 0x558a98460d78>

(make-frame-visible frame)
#<frame emacs@luna 0x558a98460d78>

(frame-width frame)
60

(frame-height frame)
20
----------------

But sometimes:

----------------
(frame-width frame)
40

(frame-height frame)
5
----------------

> And how does a normal, visible pgtk frame behave when you toggle
> scroll
> bars or fringes on and off?  Here it expands and shrinks.

Shrinks and shrinks.

----------------
(frame-width)
81

(modify-frame-parameters nil '((right-fringe . 0)))
nil

(frame-width)
79

(modify-frame-parameters nil '((right-fringe . 1)))
nil

(frame-width)
76

(modify-frame-parameters nil '((right-fringe . 0)))
nil

(frame-width)
74

(modify-frame-parameters nil '((right-fringe . 1)))
nil

(frame-width)
71
----------------

It is the same when I toggle vertical-scroll-bars.

I'll debug...
-- 
Yuuki Harano



reply via email to

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