~mil/sxmo-devel

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

[PATCH] Fix error in >1 wide key width calc, also 2021

silver
Details
Message ID
<20210420042616.29065-1-silver@repost.land>
DKIM signature
missing
Download raw message
Patch: +2 -2
---
 svkbd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/svkbd.c b/svkbd.c
index 95c0de0..e2bd5d9 100644
--- a/svkbd.c
+++ b/svkbd.c
@@ -519,7 +519,7 @@ updatekeys() {
		for(x = 0; i < LENGTH(keys) && keys[i].keysym != 0; i++) {
			keys[i].x = x;
			keys[i].y = y;
			keys[i].w = keys[i].width * (ww - 1) / base;
			keys[i].w = keys[i].width * ww / base;
			keys[i].h = r == 1 ? wh - y - 1 : h;
			x += keys[i].w;
		}
@@ -559,7 +559,7 @@ main(int argc, char *argv[]) {
	signal(SIGTERM, sigterm);
	for (i = 1; argv[i]; i++) {
		if(!strcmp(argv[i], "-v")) {
			die("svkbd-"VERSION", © 2006-2020 svkbd engineers,"
			die("svkbd-"VERSION", © 2006-2021 svkbd engineers,"
				       " see LICENSE for details\n");
		} else if(!strcmp(argv[i], "-d")) {
			isdock = True;
-- 
2.25.1
Details
Message ID
<20210423172803.tsp3d3ha7ph5lhqx@worker.anaproy.lxd>
In-Reply-To
<20210420042616.29065-1-silver@repost.land> (view parent)
DKIM signature
missing
Download raw message
Thanks! I'll give it a try first and will forward the patch upstream after testing.

--

Maarten van Gompel (proycon)
https://proycon.anaproy.nl
Reply to thread Export thread (mbox)