rotate-screen: recognize Debian 13 for the weston transform update - #89
Merged
Conversation
update_weston() only matched release 10, 11, or 12 before writing transform= into weston.ini, so it silently did nothing on Debian 13 (Rebuild moved to trixie this cycle) - EXTERNAL_SCREEN_ROTATION was being saved but never actually applied to the touchscreen. Verified on real hardware: applying rotation=270 now correctly sets transform=rotate-90 and the Toggle UI displays in the right orientation after a weston/toggle restart. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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.
Problem
rotate-screen'supdate_weston()only matched Debian release10,11, or12before writingtransform=into the target'sweston.ini. Rebuild moved to Debian 13 (trixie) this cycle, so this fell into the*)branch and silently did nothing -EXTERNAL_SCREEN_ROTATIONwas being saved to/etc/rebuild-settingscorrectly, but never actually applied to the touchscreen.Fix
One-line case pattern change:
11 | 12)→11 | 12 | 13).Test plan
/etc/debian_versionis13.6on a live boardweston.iniforEXTERNAL_SCREEN_ROTATION=270(the value already saved in/etc/rebuild-settings) - correctly settransform=rotate-90weston+toggle, both came backactive🤖 Generated with Claude Code