Repository navigation
fix(float): apply KWin skipswitcher rule to the XWayland fallback too - #60
Merged
Merged
Conversation
ensure_float_rule() early-returned when GDK_BACKEND=x11, so KDE Wayland sessions using the PICKSCRIBE_X11=1 XWayland fallback never received the KWin skipswitcher rule. X11's EWMH has no switcher-hint equivalent, so that rule is the only way to keep the capsule out of Alt+Tab there. Gate replaced with a pure is_kde_wayland_session(xdg_session_type, xdg_current_desktop) predicate (renderer backend is orthogonal to session type); 7 unit tests added. KDE-desktop filter for kwinrulesrc writes is unchanged. Ports the accepted pickforge/pickgauge#49 fix (pickgauge#66) to PickScribe's own KWin module. Closes #46
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.
Summary
Port of the accepted pickforge/pickgauge#49 fix (pickgauge#66) to PickScribe's own KWin module, per this repo's #46:
kwin.rshad the identical bug:ensure_float_rule()early-returned onGDK_BACKEND=x11, so thePICKSCRIBE_X11=1XWayland fallback never got the KWinskipswitcherrule — and EWMH has no switcher hint, so that rule is the only Alt+Tab exclusion mechanismis_kde_wayland_session(xdg_session_type, xdg_current_desktop)predicate (renderer backend is orthogonal); 7 ported unit tests; KDE-desktop filter for kwinrulesrc writes unchangedCloses #46. Follow-up filed: #59 (pre-existing macOS
cargo testcompile failure —transparentfeature — which blocked the full local Rust run; verified byte-identical on main; Linux CI runs the full suite on this PR as the real gate).Validation
Local review: trivial risk class — main-session review of a twice-reviewed accepted pattern (reference reviewed clean at pickgauge#66); port fidelity verified against the reference diff.