Skip to content

Commit

Permalink
[Wsi] fix some warnings on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthapz committed Nov 3, 2024
1 parent ee28901 commit b795941
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Wsi/macOS/StormKitView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -244,16 +244,16 @@ - (NSPoint)relativeToGlobal:(NSPoint)point {
/////////////////////////////////////
/////////////////////////////////////
- (CGDirectDisplayID)displayId {
auto screen = [[self window] screen];
auto display_id = [[screen deviceDescription] objectForKey:@"NSScreenNumber"];
auto screen = [[self window] screen];
id display_id = [[screen deviceDescription] objectForKey:@"NSScreenNumber"];

return [display_id intValue];
}

/////////////////////////////////////
/////////////////////////////////////
- (void)setNativeEventRetriever:(void *)native_event {
native_event = native_event;
//native_event = native_event;
}

@end

0 comments on commit b795941

Please sign in to comment.