diff --git a/config.h b/config.h index 9d3500a..f2390aa 100644 --- a/config.h +++ b/config.h @@ -7,7 +7,7 @@ static const char *fonts[] = { static int fontsize = 10; static double overlay_delay = 1.0; -static int heightfactor = 30; //one row of keys takes up 1/x of the screen height +static int heightfactor = 20; //one row of keys takes up 1/x of the screen height static const char *colors[SchemeLast][2] = { /* fg bg */ [SchemeNorm] = { "#ff5555", "#282a36" }, diff --git a/svkbd b/svkbd index dbfbd53..f0c28e3 100755 Binary files a/svkbd and b/svkbd differ diff --git a/svkbd.c b/svkbd.c index 9b1282a..8ab6166 100644 --- a/svkbd.c +++ b/svkbd.c @@ -176,6 +176,7 @@ buttonpress(XEvent *e) } if ((k = findkey(ev->x, ev->y))) press(k, mod); +drawkeyboard(); } void @@ -201,6 +202,7 @@ buttonrelease(XEvent *e) if ((k = findkey(ev->x, ev->y))) unpress(k, mod); } +drawkeyboard(); } void diff --git a/svkbd.o b/svkbd.o index 80460c9..4a8d77f 100644 Binary files a/svkbd.o and b/svkbd.o differ