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:
parent
cf83dad395
commit
0ff45e9ca6
1 changed files with 2 additions and 0 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue