summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-09-13 05:13:26 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-09-13 06:44:40 -0500
commit41747c962603222b2d6221a9f5fca28cd71c103a (patch)
tree71a02b8be1621b6f1eb255fd160e594dcd69bf42
parent65006ffb0baec2efb06ff7eac59bbef50d232eb6 (diff)
fdo#39007 make windows not 'restorable'
Change-Id: I9473800820cb863e0de4b16f633deec951dee120
-rw-r--r--vcl/aqua/source/window/salframe.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/aqua/source/window/salframe.cxx b/vcl/aqua/source/window/salframe.cxx
index a80ff4e521ca..b427e2e20165 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];