Remove tointeger calls to prevent lua from falling back to 0
This commit is contained in:
parent
138e1d7e0b
commit
14a75a14fa
1 changed files with 2 additions and 2 deletions
|
@ -40,8 +40,8 @@ l_kiwmi_output_move(lua_State *L)
|
||||||
|
|
||||||
struct wlr_output_layout *output_layout = output->desktop->output_layout;
|
struct wlr_output_layout *output_layout = output->desktop->output_layout;
|
||||||
|
|
||||||
int lx = lua_tointeger(L, 2);
|
int lx = lua_tonumber(L, 2);
|
||||||
int ly = lua_tointeger(L, 3);
|
int ly = lua_tonumber(L, 3);
|
||||||
|
|
||||||
wlr_output_layout_move(output_layout, output->wlr_output, lx, ly);
|
wlr_output_layout_move(output_layout, output->wlr_output, lx, ly);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue