From d92df0777e02b38b5e14a07e8b0d3910b7f2c16e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 4 Aug 2012 19:10:27 +0200 Subject: [PATCH] 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. --- src/Contexts/EglContext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Contexts/EglContext.cpp b/src/Contexts/EglContext.cpp index e66ff5036..368f1c2d0 100644 --- a/src/Contexts/EglContext.cpp +++ b/src/Contexts/EglContext.cpp @@ -77,7 +77,7 @@ EglContext::EglContext(int&, char**, const string& title, const Math::Vector2visual, 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);