[vlc-devel] commit: macosx: Remember the detached vout position. (Pierre d'Herbemont )

git version control git at videolan.org
Thu Jul 17 21:10:41 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Thu Jul 17 21:12:22 2008 +0200| [2b0f28e60e25bdaa7d263578e37079b8646ca824]

macosx: Remember the detached vout position.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2b0f28e60e25bdaa7d263578e37079b8646ca824
---

 modules/gui/macosx/vout.m |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/gui/macosx/vout.m b/modules/gui/macosx/vout.m
index 394a590..94114df 100644
--- a/modules/gui/macosx/vout.m
+++ b/modules/gui/macosx/vout.m
@@ -1053,6 +1053,8 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
         [self center];
         [self makeKeyAndOrderFront: self];
         [self setReleasedWhenClosed: YES];
+        [self setFrameUsingName:@"VLCVoutWindowDetached"];
+        [self setFrameAutosaveName:@"VLCVoutWindowDetached"];
 
         /* We'll catch mouse events */
         [self makeFirstResponder: o_view];




More information about the vlc-devel mailing list