winewayland: Proactively assign color management to outputs#8
Open
kode54 wants to merge 46 commits into
Open
Conversation
Thanks to kode54 for finding some problems with a prior version of this patch: wine-cachyos pull 6
Not a fan of having to change this but hyprland is hyprland i guess
Co-Authored-By: Rémi Bernon <rbernon@codeweavers.com>
This will fix high precision mice being overly sensitive in apps due to either wine bug or app bug (Haven't figured out which). Touchpad also works in the same way to maximize compatibility.
This reverts commit 864f2cb6fe561ba439937e7016d20add4bce7c15.
Required for HDR to look correct on wayland since Windows works in a different way compared to wayland.
In the future when we need to sync the toplevel and client surface contents, we only will sync those when the app tries to draw to the toplevel which will lead to client surface detach followed by a copy.
We may run into some cases of basically incest where a previously initialized hwnd A has a toplevel parent of hwnd B. hwnd B gets WindowPosChanged where it becomes unmanaged with owner hint of hwnd A creating a circular relationship. In these cases, we should completely ignore the owner hint.
In upstream wine we can use system threads instead, a much better solution than whatever this is.
…utImage. This is the case on macOS and some other drivers. It will not change anything on X11 which supports drawing to the window directly.
…1.0_20260519/main
959680c to
d33144c
Compare
8cb7e96 to
b1e609b
Compare
Collaborator
|
I took the liberty of rebasing and force-pushing the PR on top of the new |
|
Thanks for this, I made this version that also fixes the issue for zxdg output extension here: Etaash-mathamsetty@5d8f632 |
d33144c to
9572b09
Compare
Collaborator
|
Refreshed nightly https://github.com/CachyOS/proton-cachyos/actions/runs/26370379054/artifacts/7187909997 with @Etaash-mathamsetty's fix. |
d1784e0 to
a5e5af2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Looks like this was all it really needed, at least for Mutter.