From c303d1f73ba5b99f7a360cc28630eee0936fd049 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C5=82a=C5=BCej=20Dariusz=20Roszkowski?= Date: Sat, 10 Jan 2015 23:20:51 +0100 Subject: [PATCH] Update WindowImplX11.cpp --- src/SFML/Window/Unix/WindowImplX11.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SFML/Window/Unix/WindowImplX11.cpp b/src/SFML/Window/Unix/WindowImplX11.cpp index ba3b96fd5..0ecc8eea6 100644 --- a/src/SFML/Window/Unix/WindowImplX11.cpp +++ b/src/SFML/Window/Unix/WindowImplX11.cpp @@ -1075,7 +1075,7 @@ bool WindowImplX11::processEvent(xcb_generic_event_t* windowEvent) || (button == XCB_BUTTON_INDEX_3) || (button == 8) || (button == 9)) { Event event; - event.type = Event::MouseButtonPressed; + event.type = Event::MouseButtonReleased; event.mouseButton.x = e->event_x; event.mouseButton.y = e->event_y; switch(button)