summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gmail.com>2021-07-24 11:45:00 +0000
committerEmmanuele Bassi <ebassi@gmail.com>2021-07-24 11:45:00 +0000
commit527b2c5ab180bccfdf278479aedf298f23b72b95 (patch)
treec7e488ac98f4aecbe04070159f9b9c8e68f2c0cb
parent6f04ec9dae473cc69c46154c09e34dbd5aecd108 (diff)
parent4d0c2997cf01f388cdbaf5707d98c08a0e6e165d (diff)
downloadgtk+-527b2c5ab180bccfdf278479aedf298f23b72b95.tar.gz
Merge branch 'no-pposition' into 'master'
gdk/x11: Do not set PPosition hint See merge request GNOME/gtk!3781
-rw-r--r--gdk/x11/gdksurface-x11.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gdk/x11/gdksurface-x11.c b/gdk/x11/gdksurface-x11.c
index dee0fe7cca..505fbd2b9a 100644
--- a/gdk/x11/gdksurface-x11.c
+++ b/gdk/x11/gdksurface-x11.c
@@ -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)
{