Skip to content

Commit

Permalink
Fixed choice of display
Browse files Browse the repository at this point in the history
  • Loading branch information
robertosfield committed Apr 15, 2007
1 parent 4a071a7 commit d8565ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/osgViewer/GraphicsWindowX11.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ void GraphicsWindowX11::checkEvents()
{
if (!_realized) return;

Display* display = getDisplayToUse();
Display* display = _eventDisplay;

double baseTime = _timeOfLastCheckEvents;
double eventTime = baseTime;
Expand Down Expand Up @@ -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];
Expand Down

0 comments on commit d8565ba

Please sign in to comment.