fixed Win11 phantom Alt Tabs + fullscreen fix + set mouse events support - #65
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 |
…ort (#65) * fix: properly cleanup resources on macOS quit to prevent hanging * added save screenshot handler * fixed screenshot code, there needs to be a little delay before deleting the file otherwise steam fails to copy it * WIP trying to fix window bug * WIP * Made the implementation I had much simpler * removed unneeded change * reverted some changes * disabled disable-direct-composition and enabled fullscreenable * Added support for set ignore mouse events
No description provided.