diff options
author | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2008-10-29 17:20:11 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2008-10-31 15:48:24 -0700 |
commit | 5287602a4161cd036e3125cda09ba750190a0b47 (patch) | |
tree | 1a8693abb878e46caa984eb8dd32f8691917a3b7 | |
parent | 93d7cd31c527afbf26f4e039afb6adbb6a60fab7 (diff) |
XQuartz: if 0 out a block to avoid thread-unsafe lockups
(cherry picked from commit 60d7359a67900ad4601dbc73e07bcd8c803100a5)
-rw-r--r-- | hw/xquartz/X11Application.m | 2 |
1 files changed, 2 insertions, 0 deletions
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); |