mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-23 23:40:37 +01:00
XQuartz: if 0 out a block to avoid thread-unsafe lockups
(cherry picked from commit 60d7359a67)
This commit is contained in:
parent
770ae89d98
commit
cfe04bc226
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue