[Xt] Fix child frame resizing glitch

* src/widget.c (EmacsFrameResize): Exit early for child frames
(bug#81077).
This commit is contained in:
Dmitry Gutov 2026-05-22 01:50:03 +03:00
parent 13b29eebc1
commit 98348a0bdc

View file

@ -428,8 +428,7 @@ EmacsFrameResize (Widget widget)
ew->core.width, ew->core.height, ew->core.width, ew->core.height,
f->new_width, f->new_height); f->new_width, f->new_height);
if (FRAME_PIXEL_WIDTH (f) == ew->core.width if (FRAME_PARENT_FRAME (f)) /* Size always up to date. */
&& FRAME_PIXEL_HEIGHT (f) == ew->core.height)
return; return;
change_frame_size (f, ew->core.width, ew->core.height, change_frame_size (f, ew->core.width, ew->core.height,