[vlc-devel] commit: gui/macosx: fix a side effect when the playlist' s splitview is resizing in embedded window. (Sebastien Zwickert )

git version control git at videolan.org
Sat Dec 26 10:31:23 CET 2009


vlc | branch: master | Sebastien Zwickert <dilaroga at free.fr> | Fri Dec 25 21:22:24 2009 +0100| [dabbedc659d5af0992f9247731afc52c0b65bfaa] | committer: Pierre d'Herbemont 

gui/macosx: fix a side effect when the playlist's splitview is resizing in embedded window.

Signed-off-by: Pierre d'Herbemont <pdherbemont at free.fr>

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

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

diff --git a/modules/gui/macosx/embeddedwindow.m b/modules/gui/macosx/embeddedwindow.m
index 57622e3..91c46d3 100644
--- a/modules/gui/macosx/embeddedwindow.m
+++ b/modules/gui/macosx/embeddedwindow.m
@@ -275,6 +275,8 @@
 {
 	if([splitView isVertical])
 		return proposedPosition;
+	else if ( splitView == o_vertical_split )
+		return proposedPosition ;
 	else {
 		float bottom = [splitView frame].size.height - [splitView dividerThickness];
 		if(proposedPosition > bottom - 50) {




More information about the vlc-devel mailing list