From 38b772c523f5c455a2610c2334c39637f57bd976 Mon Sep 17 00:00:00 2001 From: Alexandre Wilhelm Date: Thu, 24 Jan 2013 16:13:01 -0800 Subject: [PATCH] Fixed the bug about the moving of the main window in the showcase --- AppKit/Themes/BlendKit/BKShowcaseController.j | 3 +++ 1 file changed, 3 insertions(+) diff --git a/AppKit/Themes/BlendKit/BKShowcaseController.j b/AppKit/Themes/BlendKit/BKShowcaseController.j index fa0200f87..3c54cfae1 100644 --- a/AppKit/Themes/BlendKit/BKShowcaseController.j +++ b/AppKit/Themes/BlendKit/BKShowcaseController.j @@ -132,6 +132,9 @@ var BKLearnMoreToolbarItemIdentifier = @"BKLearnMoreToolbarItemId [_themesCollectionView setSelectionIndexes:[CPIndexSet indexSetWithIndex:0]]; + // Needed when displaying _CPWindowView, to avoid the moving of the main window + [theWindow setMovable:NO]; + [theWindow setFullPlatformWindow:YES]; [theWindow makeKeyAndOrderFront:self]; }