ooo-build r13918 - in branches/ooo-build-3-0: . patches/dev300
- From: thorstenb svn gnome org
- To: svn-commits-list gnome org
- Subject: ooo-build r13918 - in branches/ooo-build-3-0: . patches/dev300
- Date: Wed, 17 Sep 2008 14:35:42 +0000 (UTC)
Author: thorstenb
Date: Wed Sep 17 14:35:42 2008
New Revision: 13918
URL: http://svn.gnome.org/viewvc/ooo-build?rev=13918&view=rev
Log:
* patches/dev300/apply:
* patches/dev300/vcl-fix-gtk-fullscreen-crash.diff: fix another
dual-head crash, patch courtesy dtardon
Added:
branches/ooo-build-3-0/patches/dev300/vcl-fix-gtk-fullscreen-crash.diff
Modified:
branches/ooo-build-3-0/ChangeLog
branches/ooo-build-3-0/patches/dev300/apply
Modified: branches/ooo-build-3-0/patches/dev300/apply
==============================================================================
--- branches/ooo-build-3-0/patches/dev300/apply (original)
+++ branches/ooo-build-3-0/patches/dev300/apply Wed Sep 17 14:35:42 2008
@@ -2620,7 +2620,8 @@
svtools-update-ole.diff, n#411855, thorsten
vcl-logical-bmp-size.diff, i#92902, thorsten
sdext-presenterview-thread-suicide.diff, n#425072, thorsten
-vcl-fix-screen-number.diff, i#93986, thorsten
+vcl-fix-screen-number.diff, n#426521, i#93986, thorsten
+vcl-fix-gtk-fullscreen-crash.diff, i#93805, dtardon
[ Fixes < dev300-m30 < ooo300-m3 ]
pdfimport-system-poppler-m29.diff, i#92920, cmc
Added: branches/ooo-build-3-0/patches/dev300/vcl-fix-gtk-fullscreen-crash.diff
==============================================================================
--- (empty file)
+++ branches/ooo-build-3-0/patches/dev300/vcl-fix-gtk-fullscreen-crash.diff Wed Sep 17 14:35:42 2008
@@ -0,0 +1,32 @@
+--- vcl/inc/vcl/wrkwin.hxx
++++ vcl/inc/vcl/wrkwin.hxx
+@@ -82,7 +82,14 @@ public:
+
+ virtual BOOL Close();
+
+- void ShowFullScreenMode( BOOL bFullScreenMode = TRUE, sal_Int32 nDisplay = 0 );
++ /** The default value of nDisplay = -1 means "don't care" and
++ allows to backends to use any screen [** or display? terminology!]
++ they like (most probably the current one).
++
++ NOTE: The default value cannot be 0, because 0 is a legitimate
++ screen number.
++ */
++ void ShowFullScreenMode( BOOL bFullScreenMode = TRUE, sal_Int32 nDisplay = -1 );
+ void EndFullScreenMode() { ShowFullScreenMode( FALSE ); }
+ BOOL IsFullScreenMode() const { return mbFullScreenMode; }
+
+--- vcl/source/window/wrkwin.cxx
++++ vcl/source/window/wrkwin.cxx
+@@ -196,6 +196,11 @@ void WorkWindow::ShowFullScreenMode( BOOL bFullScreenMode, sal_Int32 nDisplay )
+ if ( !mbFullScreenMode == !bFullScreenMode )
+ return;
+
++ if (nDisplay < 0 || nDisplay >= Application::GetScreenCount())
++ {
++ nDisplay = GetScreenNumber();
++ }
++
+ mbFullScreenMode = bFullScreenMode != 0;
+ if ( !mbSysChild )
+ {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]