Kaydet (Commit) f0196926 authored tarafından Julien Nabet's avatar Julien Nabet Kaydeden (comit) Caolán McNamara

tdf#94829: Splash screen sets invalid XSizeHints

Change-Id: I70b86624b4d34eb6cb8f2efee0305539f6689335
Reviewed-on: https://gerrit.libreoffice.org/19219Reviewed-by: 's avatarSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: 's avatarSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
(cherry picked from commit a614568c)
Reviewed-on: https://gerrit.libreoffice.org/19273Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst d5db91d3
...@@ -481,6 +481,10 @@ static int splash_create_window( struct splash* splash, int argc, char** argv ) ...@@ -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 ); splash->gc = XCreateGC( splash->display, splash->win, value_mask, &values );
size_hints.flags = PPosition | PSize | PMinSize | PMaxSize; 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.min_width = splash->width;
size_hints.max_width = splash->width; size_hints.max_width = splash->width;
size_hints.min_height = splash->height; size_hints.min_height = splash->height;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment