Merge branch 'for-4-2' into 'gtk-4-2'

gdk/x11: Do not set PPosition hint

See merge request GNOME/gtk!3783
This commit is contained in:
Matthias Clasen 2021-07-24 23:57:18 +00:00
commit 10f8636316

View File

@ -2444,14 +2444,6 @@ gdk_x11_surface_set_geometry_hints (GdkSurface *surface,
size_hints.flags = 0; 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) if (geom_mask & GDK_HINT_MIN_SIZE)
{ {
size_hints.flags |= PMinSize; size_hints.flags |= PMinSize;