Yet another hanging variable in event code - code cleanup woes.
This should make trackpads work.
This commit is contained in:
@@ -2790,6 +2790,8 @@ void wm_event_add_ghostevent(wmWindowManager *wm, wmWindow *win, int type, int U
|
||||
event.y = evt->y = (win->sizey - 1) - cy;
|
||||
}
|
||||
|
||||
event->val= 0;
|
||||
|
||||
/* Use prevx/prevy so we can calculate the delta later */
|
||||
event.prevx = event.x - pd->deltaX;
|
||||
event.prevy = event.y - (-pd->deltaY);
|
||||
|
Reference in New Issue
Block a user