Skip to content

Commit a04867c

Browse files
committed
Fix fullscreen on macOS
1 parent 3cbb00a commit a04867c

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

macos/cc/WindowMac.mm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ static CVReturn displayLinkCallback(CVDisplayLinkRef displayLink, const CVTimeSt
9797
return false;
9898
}
9999

100+
[fNSWindow setCollectionBehavior:NSWindowCollectionBehaviorFullScreenPrimary];
101+
100102
fCursor = [kCursorCache objectAtIndex:0];
101103

102104
// create view

script/build_utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ def javac(sources, target, classpath = [], modulepath = [], add_modules = [], re
102102
subprocess.check_call([
103103
'javac',
104104
'-encoding', 'UTF8',
105+
'-Xlint:-options',
105106
*opts,
106107
'--release', release,
107108
*(['--class-path', classpath_join(classpath + [target])] if classpath else []),
@@ -122,7 +123,7 @@ def jar(target: str, *content: List[Tuple[str, str]]) -> str:
122123

123124
@functools.lru_cache(maxsize=1)
124125
def lombok():
125-
return fetch_maven('org.projectlombok', 'lombok', '1.18.22')
126+
return fetch_maven('org.projectlombok', 'lombok', '1.18.30')
126127

127128
def delombok(dirs: List[str], target: str, classpath: List[str] = [], modulepath: List[str] = []):
128129
sources = files(*[dir + "/**/*.java" for dir in dirs])

script/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def deps_compile():
1212
(args, _) = parser.parse_known_args()
1313

1414
deps = [
15-
build_utils.fetch_maven('org.projectlombok', 'lombok', '1.18.22'),
15+
build_utils.fetch_maven('org.projectlombok', 'lombok', '1.18.30'),
1616
build_utils.fetch_maven('org.jetbrains', 'annotations', '20.1.0')
1717
]
1818

0 commit comments

Comments
 (0)