/[packages]/updates/5/libreoffice/current/SOURCES/0001-but-only-for-dialog.patch
ViewVC logotype

Contents of /updates/5/libreoffice/current/SOURCES/0001-but-only-for-dialog.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1188168 - (show annotations) (download)
Sat Dec 30 21:57:44 2017 UTC (6 years, 3 months ago) by luigiwalser
File size: 851 byte(s)
5.1.6 (sync with f24)
1 From bba3f7bf8f831bf7f51de6441b3f15ed667e56fd Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
3 Date: Wed, 16 Dec 2015 11:02:27 +0000
4 Subject: [PATCH] but only for dialog
5
6 Change-Id: I7e4f5c075ca4844f81a59071bed475ea1da4bf91
7 ---
8 vcl/source/window/syswin.cxx | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11 diff --git a/vcl/source/window/syswin.cxx b/vcl/source/window/syswin.cxx
12 index 3f2cde1..057b51b 100644
13 --- a/vcl/source/window/syswin.cxx
14 +++ b/vcl/source/window/syswin.cxx
15 @@ -1135,7 +1135,7 @@ void SystemWindow::DoInitialLayout()
16 mbIsCalculatingInitialLayoutSize = false;
17 mbInitialLayoutDone = true;
18 }
19 - else if (!(GetStyle() & WB_SIZEABLE))
20 + else if (IsDialog() && !(GetStyle() & WB_SIZEABLE))
21 {
22 SetMinOutputSizePixel(GetSizePixel());
23 }
24 --
25 2.5.0
26

  ViewVC Help
Powered by ViewVC 1.1.30