Check return of ainput mouse event

This commit is contained in:
akallabeth 2022-01-21 19:26:30 +01:00 committed by akallabeth
parent d3ee52b0f8
commit e5592772ce

View File

@ -1145,8 +1145,7 @@ BOOL freerdp_client_send_extended_button_event(rdpClientContext* cctx, BOOL rela
if (mflags & PTR_XFLAGS_BUTTON2) if (mflags & PTR_XFLAGS_BUTTON2)
flags |= AINPUT_XFLAGS_BUTTON2; flags |= AINPUT_XFLAGS_BUTTON2;
ainput_send_diff_event(cctx, flags, x, y); handled = ainput_send_diff_event(cctx, flags, x, y);
handled = TRUE;
} }
#endif #endif