Fixed #6221: Update floatbar position with multitouch input
This commit is contained in:
parent
8c2c19bbc8
commit
004910ce5d
@ -374,12 +374,12 @@ BOOL xf_generic_MotionNotify(xfContext* xfc, int x, int y, int state, Window win
|
||||
}
|
||||
static BOOL xf_event_MotionNotify(xfContext* xfc, const XMotionEvent* event, BOOL app)
|
||||
{
|
||||
if (xfc->use_xinput)
|
||||
return TRUE;
|
||||
|
||||
if (xfc->window)
|
||||
xf_floatbar_set_root_y(xfc->window->floatbar, event->y);
|
||||
|
||||
if (xfc->use_xinput)
|
||||
return TRUE;
|
||||
|
||||
return xf_generic_MotionNotify(xfc, event->x, event->y, event->state, event->window, app);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user