implement fullscreen for x11

This commit is contained in:
Eduardo Bart
2012-01-06 07:10:55 -02:00
parent 028441831d
commit 7206f7aad9
5 changed files with 46 additions and 43 deletions

View File

@@ -19,7 +19,7 @@ function Client.init()
local displaySize = g_window.getDisplaySize()
local pos = { x = (displaySize.width - size.width)/2,
y = (displaySize.height - size.height)/2 }
pos = Settings.getPoint('window-pos', size)
pos = Settings.getPoint('window-pos', pos)
g_window.move(pos)
-- window maximized?