This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch devs/devilhorns/apos
in repository efl.
View the commit online.
commit 3e3a4ed7ad56933928b00d2e204f83043dd20518
Author: Christopher Michael <devilho...@comcast.net>
AuthorDate: Sat Aug 30 08:02:42 2025 -0500
ecore_drm2: Set display crtc position
When we apply changes to a display, handle setting crtc position
---
src/lib/ecore_drm2/ecore_drm2_displays.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/lib/ecore_drm2/ecore_drm2_displays.c b/src/lib/ecore_drm2/ecore_drm2_displays.c
index 8bf60acf72..7c8371fec1 100644
--- a/src/lib/ecore_drm2/ecore_drm2_displays.c
+++ b/src/lib/ecore_drm2/ecore_drm2_displays.c
@@ -1495,15 +1495,15 @@ ecore_drm2_display_changes_apply(Ecore_Drm2_Display *disp)
if (pstate->changes & ECORE_DRM2_DISPLAY_STATE_PRIMARY)
{
/* No-op change */
+ cstate->primary = pstate->primary;
pstate->changes &= ~ECORE_DRM2_DISPLAY_STATE_PRIMARY;
}
if (pstate->changes & ECORE_DRM2_DISPLAY_STATE_POSITION)
{
- /* FIXME */
- /* disp->x = pstate->x; */
- /* disp->y = pstate->y; */
- pstate->changes &= ~ECORE_DRM2_DISPLAY_STATE_POSITION;
+ if (_ecore_drm2_crtcs_position_set(disp->crtc, disp->conn->id,
+ pstate->x, pstate->y))
+ pstate->changes &= ~ECORE_DRM2_DISPLAY_STATE_POSITION;
}
if (!_ecore_drm2_connectors_changes_apply(disp->conn))
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.