summaryrefslogtreecommitdiffstats
path: root/macosx/PictureController.mm
diff options
context:
space:
mode:
authordynaflash <[email protected]>2009-03-05 23:07:19 +0000
committerdynaflash <[email protected]>2009-03-05 23:07:19 +0000
commitd136fdc0ab450fdc8b3a8276339b861e6fb48c6f (patch)
tree2ff38e004be5f4503c4c255c9295112170dfb8ab /macosx/PictureController.mm
parent1c3b73c478a542c749063599b42ec923bc39176e (diff)
MacGui: Fix picture settings panel so that it stays on top when open like a true hud inspector.
- Add "Hide On Deactivate" property to the xib so that if another app is in focus the panel properly hides. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2228 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/PictureController.mm')
-rw-r--r--macosx/PictureController.mm9
1 files changed, 7 insertions, 2 deletions
diff --git a/macosx/PictureController.mm b/macosx/PictureController.mm
index 702816c8f..3c078191b 100644
--- a/macosx/PictureController.mm
+++ b/macosx/PictureController.mm
@@ -84,8 +84,13 @@
- (void) setToWindowedMode
{
- /* Set the window back to regular level */
- [[self window] setLevel:NSNormalWindowLevel];
+ /* Set the window back to Floating Window mode
+ * This will put the window always on top, but
+ * since we have Hide on Deactivate set in our
+ * xib, if other apps are put in focus we will
+ * hide properly to stay out of the way
+ */
+ [[self window] setLevel:NSFloatingWindowLevel];
}
- (void)setHBController: (HBController *)controller