This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository enlightenment.
View the commit online.
commit c600f7b3397e87005904aebeccf66acbd1dd7478
Author: Carsten Haitzler <ras...@rasterman.com>
AuthorDate: Mon Aug 26 21:41:08 2024 +0100
e - client - fix explicit abort someone put in...
i am relatively sure this wasn't me... i do not put aborts in code...
so let's not abort and let's just handle this gracefully in e client
limits handling aspect...
@fix
---
src/bin/e_client.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/bin/e_client.c b/src/bin/e_client.c
index 8fd4b2db4..f4d7d88ac 100644
--- a/src/bin/e_client.c
+++ b/src/bin/e_client.c
@@ -5593,7 +5593,9 @@ e_client_resize_limit(const E_Client *ec, int *w, int *h)
}
}
a = (double)*w / *h;
- if (a < ec->icccm.min_aspect) abort();
+ // this should be a rare bizarro situation that doesn't make sense
+ // so marching on and not abort()ing is preferable
+ if (a < ec->icccm.min_aspect) a = ec->icccm.min_aspect;
if (a > ec->icccm.max_aspect)
{
if (dw)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.