X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;f=src%2Fclient%2Fcontrol.c;h=a58c35cb06e060ddfb4763413a0068c051b9e76d;hb=90000141ed7582d79c5739d0219e6a3a6070b11d;hp=4c512dcf978a62ad8a62086a2ff1595c505f1686;hpb=f23a01df6711bdad4ef638161ff26204075b23d3;p=plomrogue diff --git a/src/client/control.c b/src/client/control.c index 4c512dc..a58c35c 100644 --- a/src/client/control.c +++ b/src/client/control.c @@ -151,7 +151,7 @@ static uint8_t try_server_commands(struct Command * command) extern uint8_t try_key(uint16_t key) { struct Command * command = get_command_to_keycode(world.kb_global.kbs, key); - if (!command) + if (!command && world.wmeta.active) { struct WinConf * wc = get_winconf_by_win(world.wmeta.active); if (0 == wc->view)