mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-25 05:55:29 +00:00
Disabled event suppression after cursor movements.
This commit is contained in:
parent
2c0b024158
commit
859216b94b
|
@ -221,6 +221,7 @@ namespace OpenTK.Platform.MacOS
|
||||||
|
|
||||||
void IMouseDriver2.SetPosition(double x, double y)
|
void IMouseDriver2.SetPosition(double x, double y)
|
||||||
{
|
{
|
||||||
|
CG.SetLocalEventsSuppressionInterval(0.0);
|
||||||
CG.WarpMouseCursorPosition(new Carbon.HIPoint(x, y));
|
CG.WarpMouseCursorPosition(new Carbon.HIPoint(x, y));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue