1
0
Fork 0

(svn r20619) -Fix [FS#4070]: [OSX] Limit minimum window size to 64x64 like all other platforms (matheweis)

release/1.1
rubidium 2010-08-25 19:05:34 +00:00
parent 1e0e4b8cb6
commit 134712ec64
2 changed files with 4 additions and 0 deletions

View File

@ -456,6 +456,8 @@ bool WindowQuartzSubdriver::SetVideoMode(int width, int height)
[ this->window setMiniwindowTitle:nsscaption ];
[ nsscaption release ];
[ this->window setContentMinSize:NSMakeSize(64.0f, 64.0f) ];
[ this->window setAcceptsMouseMovedEvents:YES ];
[ this->window setViewsNeedDisplay:NO ];

View File

@ -386,6 +386,8 @@ bool WindowQuickdrawSubdriver::SetVideoMode(int width, int height)
[ this->window setMiniwindowTitle:nsscaption ];
[ nsscaption release ];
[ this->window setContentMinSize:NSMakeSize(64.0f, 64.0f) ];
[ this->window setAcceptsMouseMovedEvents:YES ];
[ this->window setViewsNeedDisplay:NO ];