looks cool though ;)
would be cooler if you fixed the issue rather than made such comments
It looks like OpenTK sends a MouseMove event every maximize. In combination with parallax effects it gives this bug.
osu! original client also have this bug(kind of). When maximizing, the mouse cursor trails appears on screen.
I tried to ignore MouseMove events when osu! is minimized, but due to lack of C# and OpenTK skills, it does not helped. (or I am doing something wrong)
@a1batross - Try checking GetForegroundWindow with FindWindowA. For example,
if(GetForegroundWindow() != FindWindowA((string)null, "osu!")) return; or something of the sort.
@thatsabop Platform-specific hack much ?
Even if this had to be done, it'd be preferable to use the window handle rather than finding the first window matching some title.
Besides, the framework exposes that already (GameWindow.Visible).
Resolved by https://github.com/ppy/osu-framework/pull/623.
Most helpful comment
looks cool though ;)