snowcone-ltd/libmatoya

V4 breaking clipcursor on state change out of focus

Closed this issue · 0 comments

  1. Launch a game or application that locks the cursor
  2. While in that application, increment app.state

AppRun loop will call app_apply_clip on state change, focus is false as the other application is in focus, so ClipCursor(NULL) is called, breaking the other application's lock.