Changed requestWarpPointer to use _eventDislay to avoid crash in osghanglide example due
to async usage.
This commit is contained in:
parent
7086aeeebc
commit
65ac804b7d
@ -1210,7 +1210,7 @@ void GraphicsWindowX11::adaptKey(XKeyEvent& keyevent, int& keySymbol, unsigned i
|
||||
|
||||
void GraphicsWindowX11::requestWarpPointer(float x,float y)
|
||||
{
|
||||
Display* display = getDisplayToUse();
|
||||
Display* display = _eventDisplay; // getDisplayToUse();
|
||||
|
||||
XWarpPointer( display,
|
||||
None,
|
||||
|
Loading…
Reference in New Issue
Block a user