summaryrefslogtreecommitdiff
path: root/desktop/unx/source/splashx.c
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2015-10-06 22:27:00 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2015-10-07 12:41:49 +0000
commita614568c4356fe37ba132972e6f3649d606e2c9a (patch)
treef142cb82310f2a681e60a58ca75e85d92fcafaf2 /desktop/unx/source/splashx.c
parentad0a17dac402852758d93b4efff522dd509c51f0 (diff)
tdf#94829: Splash screen sets invalid XSizeHints
Change-Id: I70b86624b4d34eb6cb8f2efee0305539f6689335 Reviewed-on: https://gerrit.libreoffice.org/19219 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'desktop/unx/source/splashx.c')
-rw-r--r--desktop/unx/source/splashx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/desktop/unx/source/splashx.c b/desktop/unx/source/splashx.c
index 44e6b8c59a1e..ce57afe85391 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;