From 5287602a4161cd036e3125cda09ba750190a0b47 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Wed, 29 Oct 2008 17:20:11 -0700 Subject: [PATCH] XQuartz: if 0 out a block to avoid thread-unsafe lockups (cherry picked from commit 60d7359a67900ad4601dbc73e07bcd8c803100a5) --- hw/xquartz/X11Application.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/xquartz/X11Application.m b/hw/xquartz/X11Application.m index 5da1ffcc2..b882b5589 100644 --- a/hw/xquartz/X11Application.m +++ b/hw/xquartz/X11Application.m @@ -967,6 +967,7 @@ static void send_nsevent(NSEvent *e) { pDev = darwinTabletCurrent; } +#if 0 // XPlugin isn't thread safe ... sigh if(!quartzServerVisible) { xp_window_id wid; @@ -982,6 +983,7 @@ static void send_nsevent(NSEvent *e) { if (wid == 0) return; } +#endif DarwinSendPointerEvents(pDev, ev_type, ev_button, pointer_x, pointer_y, pressure, tilt_x, tilt_y);