[Xquartz-changes] xserver: Branch 'master'
Jeremy Huddleston
jeremyhu at freedesktop.org
Fri Mar 23 20:13:04 PDT 2012
hw/xquartz/X11Application.m | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
New commits:
commit 800f7981a9be0d74a9ccb49bb76b50ece00c7e04
Author: Jeremy Huddleston <jeremyhu at apple.com>
Date: Fri Mar 23 20:12:11 2012 -0700
XQuartz: Reformat X11Application.m ifdef magic to make it work with uncrustify
Signed-off-by: Jeremy Huddleston <jeremyhu at apple.com>
diff --git a/hw/xquartz/X11Application.m b/hw/xquartz/X11Application.m
index 7df0a49..4be0f9a 100644
--- a/hw/xquartz/X11Application.m
+++ b/hw/xquartz/X11Application.m
@@ -455,11 +455,10 @@ message_kit_thread(SEL selector, NSObject * arg)
if (for_x) {
#ifdef HAVE_LIBDISPATCH
dispatch_async(eventTranslationQueue, ^ {
-#endif
- [self sendX11NSEvent:e];
-#ifdef HAVE_LIBDISPATCH
- }
- );
+ [self sendX11NSEvent:e];
+ });
+#else
+ [self sendX11NSEvent:e];
#endif
}
}
More information about the Xquartz-changes
mailing list