[Libreoffice-commits] core.git: desktop/unx

Julien Nabet serval2412 at yahoo.fr
Wed Oct 7 05:42:08 PDT 2015


 desktop/unx/source/splashx.c |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit a614568c4356fe37ba132972e6f3649d606e2c9a
Author: Julien Nabet <serval2412 at yahoo.fr>
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 <Samuel.Mehrbrodt at cib.de>
    Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>

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;


More information about the Libreoffice-commits mailing list