diff options
Diffstat (limited to 'vis-lua.c')
| -rw-r--r-- | vis-lua.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1169,6 +1169,11 @@ static int vis_newindex(lua_State *L) { vis_count_set(vis, count); return 1; } + + if (strcmp(key, "win") == 0) { + vis_window_focus(obj_ref_check(L, 3, VIS_LUA_TYPE_WINDOW)); + return 0; + } } return newindex_common(L); } |
