[Top][All Lists]

[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: Thu, 06 May 2021 16:47:59 +0200
User-agent: mu4e 1.5.13; emacs 28.0.50

martin rudalics <rudalics@gmx.at> writes:

>>> in xterm.c please remove the two occurrences of
>>> #if defined USE_GTK && defined HAVE_GTK3
>>>           /* If GTK3 wants to impose some old size here (Bug#24526),
>>>              tell it that the current size is what we want.  */
>>>           xg_frame_set_char_size
>>>             (f, FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f));
>>> #endif
>>> and tell me whether the problem persists.
>> Nope, then the problem is gone and also toggling the toolbar and
>> menubar has immediate effect without need for resizing the frame.
> Please tell me whether it's necessary to remove both of these to make
> the problem go away.  If removing the second one suffices,

It does suffice.

> please try the attached patch and tell me whether it helps.

When I apply the patch to an unmodified xterm.c, emacs -Q has a menubar
but no toolbar, and the complete UI except for the menubar is just black
screen with no text, no modeline, no nothing!  Even resizing or typing
won't make anything appear.  The menubar works, though.  I can expand it
and press entries, and it seems it reacts to that.

When I apply your patch and also remove the second ifdef, that doesn't
change.  Just a menubar with blackness on the rest of the frame.


Attachment: Screenshot-2021-05-06_165751.png
Description: PNG image


reply via email to

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