aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/GuiLua/GuiLua.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/GuiLua/GuiLua.c')
-rw-r--r--src/GuiLua/GuiLua.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/GuiLua/GuiLua.c b/src/GuiLua/GuiLua.c
index 494be84..09c3fe9 100644
--- a/src/GuiLua/GuiLua.c
+++ b/src/GuiLua/GuiLua.c
@@ -196,6 +196,8 @@ static int widget(lua_State *L)
196 ); 196 );
197 evas_object_smart_callback_add(wid->obj, "clicked", _on_click, wid); 197 evas_object_smart_callback_add(wid->obj, "clicked", _on_click, wid);
198 198
199 evas_object_show(win->box);
200
199 lua_pushlightuserdata(L, (void *) wid); 201 lua_pushlightuserdata(L, (void *) wid);
200 return 1; 202 return 1;
201 } 203 }
@@ -259,7 +261,7 @@ static int window(lua_State *L)
259 world = gl->world; 261 world = gl->world;
260 } 262 }
261 263
262 win = winFangAdd(parent, 25, 25, w, h, title, name, world); 264 win = winFangAdd(parent, 25, 55, w, h, title, name, world);
263 if (gl) 265 if (gl)
264 { 266 {
265 // If there's no parent, we become the parent. 267 // If there's no parent, we become the parent.