From 54f3dc3d99051713a005a1a37586b65512fa71ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 4 Aug 2012 18:07:52 +0200 Subject: [PATCH] Small cleanup, fixed small typo. --- src/Contexts/EglContext.cpp | 2 +- src/Contexts/Sdl2Context.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Contexts/EglContext.cpp b/src/Contexts/EglContext.cpp index a6f8a842c..7c6f6bbfa 100644 --- a/src/Contexts/EglContext.cpp +++ b/src/Contexts/EglContext.cpp @@ -73,7 +73,7 @@ EglContext::EglContext(int&, char**, const string& title, const Math::Vector2visual, AllocNone); + attr.colormap = XCreateColormap(xDisplay, root, visInfo->visual, AllocNone); attr.event_mask = StructureNotifyMask|ExposureMask|KeyPressMask; 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); diff --git a/src/Contexts/Sdl2Context.h b/src/Contexts/Sdl2Context.h index 906daf49a..221a2dccc 100644 --- a/src/Contexts/Sdl2Context.h +++ b/src/Contexts/Sdl2Context.h @@ -100,7 +100,7 @@ class Sdl2Context: public AbstractContext { /** * @brief Key release event - * @param key Key release + * @param key Key released */ virtual void keyReleaseEvent(Key key);