1
0
Fork 0

(svn r25656) -Cleanup: Coding style.

release/1.4
michi_cc 2013-08-05 20:35:42 +00:00
parent 6d50b10074
commit 2702fe88d7
1 changed files with 6 additions and 7 deletions

View File

@ -292,10 +292,9 @@ bool WindowQuartzSubdriver::SetVideoMode(int width, int height, int bpp)
NSWindowCollectionBehavior behavior = [ this->window collectionBehavior ];
behavior |= NSWindowCollectionBehaviorFullScreenPrimary;
[window setCollectionBehavior:behavior];
[ this->window setCollectionBehavior:behavior ];
NSButton* fullscreenButton =
[this->window standardWindowButton:NSWindowFullScreenButton];
NSButton* fullscreenButton = [ this->window standardWindowButton:NSWindowFullScreenButton ];
[ fullscreenButton setAction:@selector(toggleFullScreen:) ];
[ fullscreenButton setTarget:this->window ];