Skip to content

Add additional center position names#124

Open
borjafac wants to merge 2 commits into
wheaney:mainfrom
borjafac:main
Open

Add additional center position names#124
borjafac wants to merge 2 commits into
wheaney:mainfrom
borjafac:main

Conversation

@borjafac
Copy link
Copy Markdown

Extend sideview_position_names with four new center-aligned entries: center_left, center_top, center_right, and center_bottom. This enables finer-grained center positioning for the sideview plugin (ensure SIDEVIEW_POSITION_COUNT is updated accordingly where needed).

Extend sideview_position_names with four new center-aligned entries: center_left, center_top, center_right, and center_bottom. This enables finer-grained center positioning for the sideview plugin (ensure SIDEVIEW_POSITION_COUNT is updated accordingly where needed).
Comment thread src/plugins/sideview.c Outdated
Copy link
Copy Markdown
Owner

@wheaney wheaney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll also want to update the xr_driver_cli since it provides a sideview option

Add additional sideview placement names and expose them in the CLI. The -svp/--sideview-position option now accepts middle_center, middle_left, top_center, middle_right and bottom_center in addition to the existing corners. Updated src/plugins/sideview.c to replace the old "center*" names with the new naming (center -> middle_center, center_left -> middle_left, center_top -> top_center, center_right -> middle_right, center_bottom -> bottom_center) so the names align with the CLI.
@borjafac
Copy link
Copy Markdown
Author

Changes requested done :)

@borjafac borjafac requested a review from wheaney May 29, 2026 07:50
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.

2 participants