From 08fbedce3804de9b83391c476deae57963bb789a Mon Sep 17 00:00:00 2001 From: Eduardo Bart Date: Fri, 30 Dec 2011 04:36:10 -0200 Subject: [PATCH] fix fullscreen mode on ARM --- modules/client/client.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/client/client.lua b/modules/client/client.lua index 8a7077c5..7434d5b1 100644 --- a/modules/client/client.lua +++ b/modules/client/client.lua @@ -2,6 +2,8 @@ Client = { } -- TODO: load and save configurations function Client.init() + g_window.show() + -- initialize in fullscreen mode on mobile devices if g_window.getPlatformType() == "X11-EGL" then g_window.setFullscreen(true) @@ -9,6 +11,7 @@ function Client.init() g_window.move({ x=220, y=220 }) g_window.resize({ width=800, height=480 }) end + g_window.setTitle('OTClient') g_window.setIcon('clienticon.png') return true