Browse Source

EglContext: Not sure what this did, but this doesn't affect anything.

Was getting out-of-sync with INPUT_MASK, so setting it to 0.
vectorfields
Vladimír Vondruš 14 years ago
parent
commit
d92df0777e
  1. 2
      src/Contexts/EglContext.cpp

2
src/Contexts/EglContext.cpp

@ -77,7 +77,7 @@ EglContext::EglContext(int&, char**, const string& title, const Math::Vector2<GL
attr.background_pixel = 0;
attr.border_pixel = 0;
attr.colormap = XCreateColormap(xDisplay, root, visInfo->visual, AllocNone);
attr.event_mask = StructureNotifyMask|ExposureMask|KeyPressMask;
attr.event_mask = 0;
unsigned long mask = CWBackPixel|CWBorderPixel|CWColormap|CWEventMask;
xWindow = XCreateWindow(xDisplay, root, 20, 20, size.x(), size.y(), 0, visInfo->depth, InputOutput, visInfo->visual, mask, &attr);
XSetStandardProperties(xDisplay, xWindow, title.c_str(), 0, None, 0, 0, 0);

Loading…
Cancel
Save