aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ClientHamr
diff options
context:
space:
mode:
Diffstat (limited to 'ClientHamr')
-rw-r--r--ClientHamr/GuiLua/GuiLua.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/ClientHamr/GuiLua/GuiLua.c b/ClientHamr/GuiLua/GuiLua.c
index c463eca..ec8c23e 100644
--- a/ClientHamr/GuiLua/GuiLua.c
+++ b/ClientHamr/GuiLua/GuiLua.c
@@ -610,6 +610,14 @@ int luaopen_libGuiLua(lua_State *L)
610 memset(&ourGlobals, 0, sizeof(globals)); 610 memset(&ourGlobals, 0, sizeof(globals));
611 loggingStartup(&ourGlobals); 611 loggingStartup(&ourGlobals);
612 612
613 elm_policy_set(ELM_POLICY_EXIT, ELM_POLICY_EXIT_NONE);
614 elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_NONE);
615 elm_policy_set(ELM_POLICY_THROTTLE, ELM_POLICY_THROTTLE_HIDDEN_ALWAYS);
616
617 // These are set via the elementary_config tool, which is hard to find.
618 elm_config_finger_size_set(0);
619 elm_config_scale_set(1.0);
620
613// pseudo-indices, special tables that can be accessed like the stack - 621// pseudo-indices, special tables that can be accessed like the stack -
614// LUA_GLOBALSINDEX - thread environment, where globals are 622// LUA_GLOBALSINDEX - thread environment, where globals are
615// LUA_ENVIRONINDEX - C function environment, in this case luaopen_widget() is the C function 623// LUA_ENVIRONINDEX - C function environment, in this case luaopen_widget() is the C function