desktop/unx/source/splashx.c | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit a614568c4356fe37ba132972e6f3649d606e2c9a
Author: Julien Nabet <[email protected]>
Date: Tue Oct 6 22:27:00 2015 +0200
tdf#94829: Splash screen sets invalid XSizeHints
Change-Id: I70b86624b4d34eb6cb8f2efee0305539f6689335
Reviewed-on: https://gerrit.libreoffice.org/19219
Reviewed-by: Samuel Mehrbrodt <[email protected]>
Tested-by: Samuel Mehrbrodt <[email protected]>
diff --git a/desktop/unx/source/splashx.c b/desktop/unx/source/splashx.c
index 44e6b8c..ce57afe 100644
--- a/desktop/unx/source/splashx.c
+++ b/desktop/unx/source/splashx.c
@@ -481,6 +481,10 @@ static int splash_create_window( struct splash* splash,
int argc, char** argv )
splash->gc = XCreateGC( splash->display, splash->win, value_mask, &values
);
size_hints.flags = PPosition | PSize | PMinSize | PMaxSize;
+ size_hints.x = display_x_pos;
+ size_hints.y = display_y_pos;
+ size_hints.width = splash->width;
+ size_hints.height = splash->height;
size_hints.min_width = splash->width;
size_hints.max_width = splash->width;
size_hints.min_height = splash->height;
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits