Osu: Minimising the game causes stuff to FLY

Created on 3 Mar 2017  路  6Comments  路  Source: ppy/osu

Most helpful comment

looks cool though ;)

All 6 comments

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).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

skhrenov picture skhrenov  路  3Comments

LanTenDragon picture LanTenDragon  路  3Comments

Axeanz picture Axeanz  路  3Comments

GameBoyYeet picture GameBoyYeet  路  3Comments

Gonzalo-Bruna picture Gonzalo-Bruna  路  3Comments