diff options
author | Jeremy Huddleston Sequoia <jeremyhu@apple.com> | 2021-02-18 12:43:53 -0800 |
---|---|---|
committer | Jeremy Huddleston Sequoia <jeremyhu@apple.com> | 2021-02-18 22:34:14 -0800 |
commit | 279bcbd9cf9e557a6789d6e4cede8e8799c3788e (patch) | |
tree | 7e84a4ecd361d3416c394b36052a5bf463029fa8 | |
parent | fe89c70e472a9da0541b798eea60c5362b49a99d (diff) |
xquartz: Silence a compiler warning about missing internal methods on NSApplication
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
-rw-r--r-- | hw/xquartz/X11Application.m | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/xquartz/X11Application.m b/hw/xquartz/X11Application.m index 7923c337b..af1ea5839 100644 --- a/hw/xquartz/X11Application.m +++ b/hw/xquartz/X11Application.m @@ -102,6 +102,11 @@ CFStringRef app_prefs_domain_cfstr = NULL; #define ALL_KEY_MASKS (NSShiftKeyMask | NSControlKeyMask | \ NSAlternateKeyMask | NSCommandKeyMask) +@interface NSApplication (Internal) +- (void)_setKeyWindow:(id)window; +- (void)_setMainWindow:(id)window; +@end + @interface X11Application (Private) - (void) sendX11NSEvent:(NSEvent *)e; @end |