mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2024-11-30 21:33:34 +08:00
Merge pull request #10237 from akallabeth/floatbar-fix
[client,x11] fix floatbar hide
This commit is contained in:
commit
213b61b308
@ -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
Block a user