ref: e49acd450628726fd789e883a88775a6f5012fab
parent: 09820aa68b89b8c8093f2e28e088c0c8a4e10f1a
author: cinap_lenrek <[email protected]>
date: Sat Dec 10 10:55:57 EST 2016
gui-x11: fix mistake
--- a/gui-x11/x11.c
+++ b/gui-x11/x11.c
@@ -873,9 +873,9 @@
xmouse(XEvent *e)
{
Mousestate ms;
- int i, s;
XButtonEvent *be;
XMotionEvent *me;
+ int s;
if(putsnarf != assertsnarf){
assertsnarf = putsnarf;
@@ -967,7 +967,7 @@
if(s & Button5Mask)
ms.buttons |= 16;
- absmousetrack(ms.x, ms.y, ms.buttons, ms.msec);
+ absmousetrack(ms.xy.x, ms.xy.y, ms.buttons, ms.msec);
}
void