Changed requestWarpPointer to use _eventDislay to avoid crash in osghanglide example due

to async usage.
This commit is contained in:
Robert Osfield 2007-10-01 09:41:05 +00:00
parent 7086aeeebc
commit 65ac804b7d

View File

@ -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,