Conversation
Though pull request will detail this a tad more: https://docs.flatpak.org/en/latest/sandbox-permissions.html#standard-permissions
To account for our changed default permissions, Wayland sector must be tweaked. This accounts for applications moving over to Wayland by default.
For us to avoid a cursed mixture of Wayland and XWayland.
The default behavior is auto now per https://www.electronjs.org/blog/electron-38-0#removed-electron_ozone_platform_hint-environment-variable
If anything is broken in testing against it it's these flags, but I believe there should be no issues. In a moment I'll try a a test against this and if input still works in login screen I'll mark reply to this indicating such.
Regarding the "to use wayland instead"
Now an if statement is used to be more accurate against the session and how application is running against it, if we're using native x11 it says so while if using X11 against Wayland via Xwayland it says so too.
|
🚧 Test build enqueued. |
|
🚧 Started test build. |
|
✅ Test build succeeded. To test this build, install it from the testing repository: Built for aarch64 and x86_64 architectures. |
As I don't know enough about this specific thing and cannot find documentation to answer enough, for the sake of functionality I shall revert this to enabled.
|
🚧 Test build enqueued. |
|
🚧 Started test build. |
|
✅ Test build succeeded. To test this build, install it from the testing repository: Built for aarch64 and x86_64 architectures. |
|
why did you open a duplicate of https://github.com/flathub/dev.vencord.Vesktop/pull/75/changes ? |
|
This is built on top of it but does have its own changes, it's left till draft till such is implemented till then.
|
|
Since it was still wip draft I won't reopen this for now but will reopen it when #75 is merged. |
|
It was properly marked as WIP draft before being closed though, so for now shall remain marked improperly. |
Mostly self-explanatory: Avoids setting stuff we don't need to and risking user security. (We should have GPU sandboxing).