|
|
|
|
@ -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); |
|
|
|
|
|