fixed Win11 phantom Alt Tabs + fullscreen fix + set mouse events support#65
fixed Win11 phantom Alt Tabs + fullscreen fix + set mouse events support#65Armaldio merged 11 commits intoCynToolkit:mainfrom
Conversation
…ng the file otherwise steam fails to copy it
|
Ok so according to ceifa/steamworks.js#95 The root cause seems to be disable-direct-compositing. From my research, there is no good reason to enable this as the overlay works without it, and it doesnt do anything on Mac and Linux The bug seems to be Win11 only, and removing it seems to have fixed the issue (?) Also, I investigated the fullscreen stuff because in that same issue someone mentioned that they had issues with the fullscreen, but I cant repro any issue. It did remind me of a bug on MacOS where if I set fullscreen to false (so the game doesnt start in fullscreen) electron disables native fullscreen entirely for the game, so to fix that I added fullscreenable As explained in https://www.electronjs.org/docs/latest/api/base-window if fullscreen is explicitely set to false, it disables the fullscreen option on macOs if fullscreenable is not set. |
|
Added support for ignoring mouse events out of spite bc ppl are selling 8 lines of code 10USD on itch.io |
No description provided.