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: Tassilo Horn
Subject: Re: Proposing changes to adjust_frame_size
Date: Wed, 12 May 2021 16:53:23 +0200
User-agent: mu4e 1.5.13; emacs 28.0.50

martin rudalics <rudalics@gmx.at> writes:

>> 11:15 <tsdh> Does it support resize requests?  What happens when you make an
>>               already visible frame invisible or iconified?  Does it support
>>               size hints?
>> 11:15 <tsdh> "it" is sway, and frame = WM window.
>> 11:16 <emersion> resize requests: yes
>
> Funny.  I would say that
>
> if (!container_is_floating(view->container)) {
>               return;
>       }
>
> from the URL below should say "no" but maybe I'm missing something.
> Can you change the size of a frame by setting its 'width' or 'height'
> parameter?

I can when my emacs frame is floating.  If it is tiling, nothing changes
(which is expected).  But if I make it floating afterwards, it'll have
the height/width as specified by the frame parameters.

> Does your frame resize when you toggle the vertical scroll bar on/off?

Again, yes when floating, no when tiling.

> I've pushed it now.  It should fail in the usual manner with
>
> (setq frame (make-frame '((visibility . nil) (width . 80))))
> (make-frame-visible frame)
>
> Please verify.

I'm happy not to disappoint you. ;-)

> And many thanks for testing, martin

I'm happy to have helped.

Bye,
Tassilo



reply via email to

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