Skip to content

fix: monitors transform#207

Open
RichardLeite wants to merge 1 commit into
Axenide:mainfrom
RichardLeite:fix/monitors-transform
Open

fix: monitors transform#207
RichardLeite wants to merge 1 commit into
Axenide:mainfrom
RichardLeite:fix/monitors-transform

Conversation

@RichardLeite

Copy link
Copy Markdown

Describe your changes

Fix missing monitor position (x, y) and transform properties in the monitor objects sent to axctl. These values were already available in mon.metadata but were not being forwarded, causing the compositor to receive undefined for position and rotation of monitors.

This complements the earlier fix in 21bf99d ("Screenshot & Screenrecord tool now uses the right positions when monitors are transformed").

Add screenshots

Before — incorrect monitor positioning/disposition:
Before

After — monitors properly positioned with correct transform:
After

Does this change any existing behavior?

Yes — monitors now report their correct x, y, and transform properties to axctl. Existing behavior is preserved for setups without transform metadata (parseInt falls back to 0).

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.

1 participant