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

git pushed a commit to branch master
in repository e16.

View the commit online.

commit 5e7c2a034ababd7df253feedc64361393ee21caa
Author: Kim Woelders <k...@woelders.dk>
AuthorDate: Mon Jun 13 07:57:48 2022 +0200

    arrange: Keep upper left corner on screen when centering window
---
 src/arrange.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/arrange.c b/src/arrange.c
index 4d0b8144..6e461221 100644
--- a/src/arrange.c
+++ b/src/arrange.c
@@ -468,6 +468,10 @@ ArrangeEwinCentered(EWin * ewin)
    int                 x, y;
 
    ArrangeEwinCenteredXY(ewin, &x, &y);
+   if (x < 0)
+      x = 0;
+   if (y < 0)
+      y = 0;
    EwinMove(ewin, x, y, 0);
 }
 

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

Reply via email to