Skip to content

winewayland: Proactively assign color management to outputs#8

Open
kode54 wants to merge 46 commits into
CachyOS:cachyos_11.0_20260519/mainfrom
kode54:winewayland-hdr-fixes
Open

winewayland: Proactively assign color management to outputs#8
kode54 wants to merge 46 commits into
CachyOS:cachyos_11.0_20260519/mainfrom
kode54:winewayland-hdr-fixes

Conversation

@kode54
Copy link
Copy Markdown

@kode54 kode54 commented May 24, 2026

Looks like this was all it really needed, at least for Mutter.

Etaash-mathamsetty and others added 30 commits May 24, 2026 20:16
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.
Etaash-mathamsetty and others added 15 commits May 24, 2026 20:16
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.
@loathingKernel loathingKernel force-pushed the cachyos_11.0_20260519/main branch from 959680c to d33144c Compare May 24, 2026 17:40
@loathingKernel loathingKernel force-pushed the winewayland-hdr-fixes branch from 8cb7e96 to b1e609b Compare May 24, 2026 18:23
@loathingKernel
Copy link
Copy Markdown
Collaborator

loathingKernel commented May 24, 2026

I took the liberty of rebasing and force-pushing the PR on top of the new cachyos_11.0_20260519/main for clarity. I hope that was ok.

@Etaash-mathamsetty
Copy link
Copy Markdown

Etaash-mathamsetty commented May 24, 2026

Thanks for this, I made this version that also fixes the issue for zxdg output extension here: Etaash-mathamsetty@5d8f632

@loathingKernel loathingKernel force-pushed the cachyos_11.0_20260519/main branch from d33144c to 9572b09 Compare May 24, 2026 19:11
@loathingKernel
Copy link
Copy Markdown
Collaborator

loathingKernel commented May 24, 2026

@loathingKernel loathingKernel force-pushed the cachyos_11.0_20260519/main branch 5 times, most recently from d1784e0 to a5e5af2 Compare May 28, 2026 11:26
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.

4 participants