mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 04:41:05 +08:00
Update WindowImplX11.cpp
This commit is contained in:
parent
8a8793e00c
commit
c303d1f73b
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user