From 62e993bd964fd89ba111599d46b42ac200c8f8fe Mon Sep 17 00:00:00 2001 From: nplourde Date: Fri, 17 Jun 2005 16:45:24 +0000 Subject: [PATCH] osx 10.3 dont like to have a window init with no size git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15748 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_macosx.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvo/vo_macosx.m b/libvo/vo_macosx.m index 819fcc428b..0d0b3b56e4 100644 --- a/libvo/vo_macosx.m +++ b/libvo/vo_macosx.m @@ -277,7 +277,7 @@ static uint32_t control(uint32_t request, void *data, ...) [self initMenu]; //create window - window = [[NSWindow alloc] initWithContentRect:NSMakeRect(0, 0, 0, 0) + window = [[NSWindow alloc] initWithContentRect:NSMakeRect(0, 0, 100, 100) styleMask:NSTitledWindowMask|NSTexturedBackgroundWindowMask|NSClosableWindowMask|NSMiniaturizableWindowMask|NSResizableWindowMask backing:NSBackingStoreBuffered defer:NO];