This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch main
in repository engage.

View the commit online.

commit 94aacc27df1b2c39b72265fdc8f082bf770ec083
Author: Alastair Poole <[email protected]>
AuthorDate: Sat Nov 28 04:02:25 2026 +0000

    dock: indicators should face our served desktop
---
 engage_dock.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/engage_dock.c b/engage_dock.c
index 7a140a8..15f27f5 100644
--- a/engage_dock.c
+++ b/engage_dock.c
@@ -603,18 +603,18 @@ dock_layout(Evas_Object *box, Evas_Object_Box_Data *layout, void *data)
              indicator_gap = thickness ? thickness + 1 : 0;
              indicator_length = MIN(along_space, thickness * 3);
              dx = tx + (tw - indicator_length) / 2;
-             dy = ty + (dock_at_start_edge(dock) ? 1 : MAX(0, th - thickness - 1));
+             dy = ty + (dock_at_start_edge(dock) ? MAX(0, th - thickness - 1) : 1);
              vw = MAX(0, MIN(along_space - along_gap, dock_icon_slot(dock, cross_space) - along_gap));
              vh = vw;
 
              if (dock->vertical)
                {
-                  dx = tx + (dock_at_start_edge(dock) ? 1 : MAX(0, tw - thickness - 1));
+                  dx = tx + (dock_at_start_edge(dock) ? MAX(0, tw - thickness - 1) : 1);
                   dy = ty + (th - indicator_length) / 2;
-                  vx = dock_at_start_edge(dock) ? indicator_gap / 2 : -indicator_gap / 2;
+                  vx = dock_at_start_edge(dock) ? -indicator_gap / 2 : indicator_gap / 2;
                }
              else
-               vy = dock_at_start_edge(dock) ? indicator_gap / 2 : -indicator_gap / 2;
+               vy = dock_at_start_edge(dock) ? -indicator_gap / 2 : indicator_gap / 2;
 
              if (tile->indicator)
                {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to