From 03c2e12a82e772461e069addbafdecdfff029ca5 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Sequoia Date: Thu, 18 Feb 2021 12:43:53 -0800 Subject: [PATCH] xquartz: Silence a compiler warning about missing internal methods on NSApplication Signed-off-by: Jeremy Huddleston Sequoia (cherry picked from commit 279bcbd9cf9e557a6789d6e4cede8e8799c3788e) --- hw/xquartz/X11Application.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hw/xquartz/X11Application.m b/hw/xquartz/X11Application.m index 443cf6c36..ee75bf008 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