Update WindowImplX11.cpp

This commit is contained in:
Błażej Dariusz Roszkowski 2015-01-10 23:20:51 +01:00 committed by Lukas Dürrenberger
parent 8a8793e00c
commit c303d1f73b

View File

@ -1075,7 +1075,7 @@ bool WindowImplX11::processEvent(xcb_generic_event_t* windowEvent)
|| (button == XCB_BUTTON_INDEX_3) || (button == 8) || (button == 9)) || (button == XCB_BUTTON_INDEX_3) || (button == 8) || (button == 9))
{ {
Event event; Event event;
event.type = Event::MouseButtonPressed; event.type = Event::MouseButtonReleased;
event.mouseButton.x = e->event_x; event.mouseButton.x = e->event_x;
event.mouseButton.y = e->event_y; event.mouseButton.y = e->event_y;
switch(button) switch(button)