X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;f=src%2Fclient%2Fcontrol.c;h=b73d8015bd65cdb3abb2ef6ea6ec47670110a18a;hb=a053b626309d3d9c51caecf35a018b6e1df5ecb5;hp=538f52ceb2795ea5be5bd71dcb1ecdfbc4cde06d;hpb=024b404c0db59dc6651b1c8f3d379c2797654fdf;p=plomrogue diff --git a/src/client/control.c b/src/client/control.c index 538f52c..b73d801 100644 --- a/src/client/control.c +++ b/src/client/control.c @@ -150,9 +150,9 @@ 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 && world.windb.active) + if (!command && world.winDB.active) { - struct Win * w = get_win_by_id(world.windb.active); + struct Win * w = get_win_by_id(world.winDB.active); if (0 == w->view) { command = get_command_to_keycode(w->kb.kbs, key);