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)
{
struct Win * win; /* Window / Win struct configured by this WinConf. */
struct KeyBindingDB kb; /* Window-specific keybindings. */
- struct yx_uint16 center; /* Designated Win.center */
+ struct yx_uint16 center; /* Designated Win.center. */
int16_t height; /* Designated height to pass to init_win(). */
int16_t width; /* Designated width to pass to init_win(). */
uint8_t height_type; /* 0: read .height/.width as size in positive cells; */