Screen __index: Don't turn argument into a string
Calling lua_tostring() on a number/integer, turns that stack slot into a string. This patch changes the code to only call lua_tostring() if the function argument really is a string. This partly also caused https://github.com/awesomeWM/awesome/issues/238. Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
84f09d9c69
commit
4c517cf9d3
Loading…
Reference in New Issue