Fixed choice of display

This commit is contained in:
Robert Osfield 2007-04-15 20:53:09 +00:00
parent df49ff18ba
commit 1fedab6b49

View File

@ -716,7 +716,7 @@ void GraphicsWindowX11::checkEvents()
{
if (!_realized) return;
Display* display = getDisplayToUse();
Display* display = _eventDisplay;
double baseTime = _timeOfLastCheckEvents;
double eventTime = baseTime;
@ -1021,7 +1021,7 @@ void GraphicsWindowX11::transformMouseXY(float& x, float& y)
void GraphicsWindowX11::adaptKey(XKeyEvent& keyevent, int& keySymbol, unsigned int& modifierMask)
{
Display* display = getDisplayToUse();
Display* display = _eventDisplay;
static XComposeStatus state;
unsigned char keybuf[32];