abduco

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | LICENSE

commit e671c024c9dd8c3f3c27d2dd1f5df4df67bacb7b
parent 5b9fcf5e521f053f7749fb27f426168a541a24ae
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Sun, 31 Jan 2016 11:53:43 +0100

Only test for redraw key if it is actually configured

This should make CTRL-Space work by default.

Diffstat:
client.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/client.c b/client.c @@ -118,7 +118,7 @@ static int client_mainloop(void) { if (len > 0) { debug("client-stdin: %c\n", pkt.u.msg[0]); pkt.len = len; - if (pkt.u.msg[0] == KEY_REDRAW) { + if (KEY_REDRAW && pkt.u.msg[0] == KEY_REDRAW) { client.need_resize = true; } else if (pkt.u.msg[0] == KEY_DETACH) { pkt.type = MSG_DETACH;