raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=d32ab7e33dffeed81159e55917611c3baa341892

commit d32ab7e33dffeed81159e55917611c3baa341892
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Mon Aug 17 18:35:04 2020 +0100

    comp fix other 4 corners fo fps display other than top-left
---
 src/bin/e_comp.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index d05319a36..4afa833c6 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -447,12 +447,12 @@ e_comp_fps_update(void)
 
                   gw = 500;
                   gh = 3 * 5;
-                  gx = x - gw;
-                  gy = y - h - gh;
+                  gx = x + w - gw;
+                  gy = y - gh - 8;
 
                   bw = (gw > bw) ? gw : bw;
                   bh = h + gh + 8;
-                  bx = (x > bx) ? bx: x;
+                  bx = (x > gx) ? gx: x;
                   by = gy;
                   break;
                 case 2: // bottom-left
@@ -462,7 +462,7 @@ e_comp_fps_update(void)
                   gw = 500;
                   gh = 3 * 5;
                   gx = x;
-                  gy = y - h - gh;
+                  gy = y - gh - 8;
 
                   bw = (gw > bw) ? gw : bw;
                   bh = h + gh + 8;
@@ -475,12 +475,12 @@ e_comp_fps_update(void)
 
                   gw = 500;
                   gh = 3 * 5;
-                  gx = x - gw;
+                  gx = x + w - gw;
                   gy = y + h;
 
                   bw = (gw > bw) ? gw : bw;
                   bh = h + gh + 8;
-                  bx = (x > bx) ? bx: x;
+                  bx = (x > gx) ? gx: x;
                   by = y;
                   break;
                 case 0: // top-left

-- 


Reply via email to