mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-13 09:35:23 -04:00
X
This commit is contained in:
parent
2665ab2314
commit
4711090b14
@ -1822,7 +1822,7 @@ static void HandleGenericEvent(XEvent* e) {
|
|||||||
if (e->xcookie.evtype == XI_RawMotion && Input_RawMode) {
|
if (e->xcookie.evtype == XI_RawMotion && Input_RawMode) {
|
||||||
ev = (XIRawEvent*)e->xcookie.data;
|
ev = (XIRawEvent*)e->xcookie.data;
|
||||||
Event_RaiseMove(&PointerEvents.RawMoved, 0,
|
Event_RaiseMove(&PointerEvents.RawMoved, 0,
|
||||||
ev->raw_values[0], dy = ev->raw_values[1]);
|
ev->raw_values[0], ev->raw_values[1]);
|
||||||
}
|
}
|
||||||
XFreeEventData(win_display, &e->xcookie);
|
XFreeEventData(win_display, &e->xcookie);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user