Scale position values in xg_frame_set_size_and_position

* src/gtkutil.c (xg_frame_set_size_and_position): Scale
position values.
This commit is contained in:
Martin Rudalics 2026-02-12 09:43:04 +01:00
parent cf83dad395
commit 0ff45e9ca6

View file

@ -1405,6 +1405,8 @@ xg_frame_set_size_and_position (struct frame *f, int width, int height)
outer_height /= scale;
outer_width /= scale;
x /= scale;
y /= scale;
/* Full force ahead. For top-level frames the gravity will get reset
to NorthWestGravity anyway. */