mirror of https://github.com/mpv-player/mpv
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
This commit is contained in:
parent
f0b231f194
commit
62e993bd96
|
@ -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];
|
||||
|
||||
|
|
Loading…
Reference in New Issue