From a614568c4356fe37ba132972e6f3649d606e2c9a Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Tue, 6 Oct 2015 22:27:00 +0200 Subject: tdf#94829: Splash screen sets invalid XSizeHints Change-Id: I70b86624b4d34eb6cb8f2efee0305539f6689335 Reviewed-on: https://gerrit.libreoffice.org/19219 Reviewed-by: Samuel Mehrbrodt Tested-by: Samuel Mehrbrodt --- desktop/unx/source/splashx.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'desktop') 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; -- cgit >distro/cib/libreoffice-5-0 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff