Move mouse before click
This commit is contained in:
parent
f68d2b8a59
commit
a959a9f851
@ -1210,6 +1210,10 @@ xrdp_wm_mouse_click(struct xrdp_wm *self, int x, int y, int but, int down)
|
||||
{
|
||||
if (self->mm->mod->mod_event != 0)
|
||||
{
|
||||
if (down)
|
||||
{
|
||||
self->mm->mod->mod_event(self->mm->mod, WM_MOUSEMOVE, x, y, 0, 0);
|
||||
}
|
||||
if (but == 1 && down)
|
||||
{
|
||||
self->mm->mod->mod_event(self->mm->mod, WM_LBUTTONDOWN, x, y, 0, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user