Removed screens list to get rc.lua to work
Doing this so it can still work on master. If it's uncommented, then you
need to fix layoutboxes since it's used in the default rc.lua
@@ -111,7 +111,10 @@ pub fn init(lua: &Lua) -> rlua::Result<Class> {
// TODO Move to Screen impl like the others
screens.push(screen);
}
- lua.globals().set(SCREENS_HANDLE, screens.to_lua(lua)?)?;
+ // TODO Uncomment
+ // This breaks rc.lua because of layoutbox stuff.
+ // Please fix that when you uncomment this.
+ lua.globals().set(SCREENS_HANDLE, lua.create_table()/*screens.to_lua(lua)?*/)?;
Ok(res)
}
