mirror of https://github.com/FreeRDP/FreeRDP
[client,x11] fix floatbar hide
This commit is contained in:
parent
47276dabaa
commit
ee789dee0b
|
@ -450,13 +450,13 @@ static BOOL xf_event_MotionNotify(xfContext* xfc, const XMotionEvent* event, BOO
|
|||
{
|
||||
WINPR_ASSERT(xfc);
|
||||
|
||||
if (xfc->window)
|
||||
xf_floatbar_set_root_y(xfc->window->floatbar, event->y);
|
||||
|
||||
if (xfc->xi_event ||
|
||||
(xfc->common.mouse_grabbed && freerdp_client_use_relative_mouse_events(&xfc->common)))
|
||||
return TRUE;
|
||||
|
||||
if (xfc->window)
|
||||
xf_floatbar_set_root_y(xfc->window->floatbar, event->y);
|
||||
|
||||
return xf_generic_MotionNotify(xfc, event->x, event->y, event->state, event->window, app);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue