Skip to content

fixed Win11 phantom Alt Tabs + fullscreen fix + set mouse events support#65

Merged
Armaldio merged 11 commits intoCynToolkit:mainfrom
skymen:develop
Mar 27, 2026
Merged

fixed Win11 phantom Alt Tabs + fullscreen fix + set mouse events support#65
Armaldio merged 11 commits intoCynToolkit:mainfrom
skymen:develop

Conversation

@skymen
Copy link
Copy Markdown
Contributor

@skymen skymen commented Mar 26, 2026

No description provided.

@skymen
Copy link
Copy Markdown
Contributor Author

skymen commented Mar 26, 2026

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.

@skymen
Copy link
Copy Markdown
Contributor Author

skymen commented Mar 26, 2026

Added support for ignoring mouse events out of spite bc ppl are selling 8 lines of code 10USD on itch.io

@skymen skymen changed the title WIP trying to fix Win11 phantom Alt Tabs fixed Win11 phantom Alt Tabs + fullscreen fix + set mouse events support Mar 26, 2026
@skymen skymen marked this pull request as ready for review March 26, 2026 19:29
@Armaldio Armaldio merged commit c2a09dd into CynToolkit:main Mar 27, 2026
2 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants