Merge pull request #1455 from deepak1556/fullscreen_patch

window: supports HTML5 fullscreen api
This commit is contained in:
Cheng Zhao 2015-04-25 16:16:57 +08:00
commit 0c091428d3
6 changed files with 24 additions and 5 deletions

View file

@ -480,7 +480,7 @@ void NativeWindowMac::SetFullScreen(bool fullscreen) {
[window_ toggleFullScreen:nil];
}
bool NativeWindowMac::IsFullscreen() {
bool NativeWindowMac::IsFullscreen() const {
return [window_ styleMask] & NSFullScreenWindowMask;
}