forked from AuroraMiddleware/gtk
Merge branch 'no-pposition' into 'master'
gdk/x11: Do not set PPosition hint See merge request GNOME/gtk!3781
This commit is contained in:
commit
527b2c5ab1
@ -2437,14 +2437,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)
|
||||
{
|
||||
size_hints.flags |= PMinSize;
|
||||
|
Loading…
Reference in New Issue
Block a user