[Libreoffice-commits] .: vcl/aqua

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Sep 13 04:45:12 PDT 2012


 vcl/aqua/source/window/salframe.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 41747c962603222b2d6221a9f5fca28cd71c103a
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Thu Sep 13 05:13:26 2012 -0500

    fdo#39007 make windows not 'restorable'
    
    Change-Id: I9473800820cb863e0de4b16f633deec951dee120

diff --git a/vcl/aqua/source/window/salframe.cxx b/vcl/aqua/source/window/salframe.cxx
index a80ff4e..b427e2e 100644
--- a/vcl/aqua/source/window/salframe.cxx
+++ b/vcl/aqua/source/window/salframe.cxx
@@ -222,6 +222,10 @@ void AquaSalFrame::initWindowAndView()
     // do this:
     objc_msgSend(mpWindow, @selector(setDelegate:), mpWindow);
 
+    if( [mpWindow respondsToSelector: @selector(setRestorable:)])
+    {
+        objc_msgSend(mpWindow, @selector(setRestorable:), NO);
+    }
     NSRect aRect = { { 0,0 }, { maGeometry.nWidth, maGeometry.nHeight } };
     mnTrackingRectTag = [mpView addTrackingRect: aRect owner: mpView userData: nil assumeInside: NO];
 


More information about the Libreoffice-commits mailing list