update
This commit is contained in:
parent
12be064bcb
commit
e5fd53f53d
2
config.h
2
config.h
|
@ -7,7 +7,7 @@ static const char *fonts[] = {
|
||||||
|
|
||||||
static int fontsize = 10;
|
static int fontsize = 10;
|
||||||
static double overlay_delay = 1.0;
|
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] = {
|
static const char *colors[SchemeLast][2] = {
|
||||||
/* fg bg */
|
/* fg bg */
|
||||||
[SchemeNorm] = { "#ff5555", "#282a36" },
|
[SchemeNorm] = { "#ff5555", "#282a36" },
|
||||||
|
|
2
svkbd.c
2
svkbd.c
|
@ -176,6 +176,7 @@ buttonpress(XEvent *e)
|
||||||
}
|
}
|
||||||
if ((k = findkey(ev->x, ev->y)))
|
if ((k = findkey(ev->x, ev->y)))
|
||||||
press(k, mod);
|
press(k, mod);
|
||||||
|
drawkeyboard();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -201,6 +202,7 @@ buttonrelease(XEvent *e)
|
||||||
if ((k = findkey(ev->x, ev->y)))
|
if ((k = findkey(ev->x, ev->y)))
|
||||||
unpress(k, mod);
|
unpress(k, mod);
|
||||||
}
|
}
|
||||||
|
drawkeyboard();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in New Issue
Block a user