Merge branch 'no-pposition' into 'master'

gdk/x11: Do not set PPosition hint

See merge request GNOME/gtk!3781
This commit is contained in:
Emmanuele Bassi 2021-07-24 11:45:00 +00:00
commit 527b2c5ab1

View File

@ -2436,14 +2436,6 @@ gdk_x11_surface_set_geometry_hints (GdkSurface *surface,
}
size_hints.flags = 0;
size_hints.flags |= PPosition;
/* We need to initialize the following obsolete fields because KWM
* apparently uses these fields if they are non-zero.
* #@#!#!$!.
*/
size_hints.x = 0;
size_hints.y = 0;
if (geom_mask & GDK_HINT_MIN_SIZE)
{