Merge pull request #1455 from deepak1556/fullscreen_patch
window: supports HTML5 fullscreen api
This commit is contained in:
commit
0c091428d3
6 changed files with 24 additions and 5 deletions
|
@ -480,7 +480,7 @@ void NativeWindowMac::SetFullScreen(bool fullscreen) {
|
|||
[window_ toggleFullScreen:nil];
|
||||
}
|
||||
|
||||
bool NativeWindowMac::IsFullscreen() {
|
||||
bool NativeWindowMac::IsFullscreen() const {
|
||||
return [window_ styleMask] & NSFullScreenWindowMask;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue