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 4ca0aa427c51b111b0374d3d8adf3d1c9110ae41
Author: Kim Woelders <k...@woelders.dk>
AuthorDate: Thu Sep 21 12:09:24 2023 +0200
size: Let max size change work in unrestricted directions
Previously only e.g. max width (not size) change would change size of
vertically restricted windows.
---
src/size.c | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/src/size.c b/src/size.c
index bca0f00e..74862218 100644
--- a/src/size.c
+++ b/src/size.c
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2000-2007 Carsten Haitzler, Geoff Harrison and various contributors
- * Copyright (C) 2003-2021 Kim Woelders
+ * Copyright (C) 2003-2023 Kim Woelders
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
@@ -845,9 +845,12 @@ MaxSizeHV(EWin * ewin, const char *resize_type, int hor, int ver, int flags)
else if (!strcmp(resize_type, "half_W"))
type = MAX_HALF_W;
- if (ewin->state.inhibit_max_hor && hor)
- return;
- if (ewin->state.inhibit_max_ver && ver)
+ if (ewin->state.inhibit_max_hor)
+ hor = 0;
+ if (ewin->state.inhibit_max_ver)
+ ver = 0;
+
+ if (!hor && !ver)
return;
if ((type == MAX_HALF_E || type == MAX_HALF_W) && hor && !ver)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.