Commit 25035229 authored by Jeremy Huddleston Sequoia's avatar Jeremy Huddleston Sequoia
Browse files

xquartz: Don't process AppKit events if we haven't finished initializing

Signed-off-by: Jeremy Huddleston Sequoia's avatarJeremy Huddleston Sequoia <>
parent 487286d4
Pipeline #273940 passed with stages
in 4 minutes and 7 seconds
......@@ -200,6 +200,14 @@ QuartzModeBundleInit(void);
- (void) sendEvent:(NSEvent *)e
/* Don't try sending to X if we haven't initialized. This can happen if AppKit takes over
* (eg: uncaught exception) early in launch.
if (!eventTranslationQueue) {
[super sendEvent:e];
OSX_BOOL for_appkit, for_x;
OSX_BOOL const x_active = self.x_active;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment