~leon_plickat/public-inbox

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch

[PATCH] Fix sizes when outer_padding = 0

Details
Message ID
<20210821193532.15320-1-catdevnull@riseup.net>
DKIM signature
pass
Download raw message
Patch: +2 -2
From: Nulo <git@nulo.in>

---
 stacktile.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/stacktile.c b/stacktile.c
index b113673..936c737 100644
--- a/stacktile.c
+++ b/stacktile.c
@@ -500,8 +500,8 @@ static void layout_handle_layout_demand (void *data, struct river_layout_v3 *riv

	uint32_t width  = _width - (2 * config->outer_padding);
	uint32_t height = _height - (2 * config->outer_padding);
	uint32_t x      = config->inner_padding;
	uint32_t y      = config->inner_padding;
	uint32_t x      = config->outer_padding;
	uint32_t y      = config->outer_padding;

	/* Primary. */
	if ( config->primary_count >= view_count || config->all_primary )
-- 
2.33.0
Reply to thread Export thread (mbox)