quake: set default geometry only on first spawn; typo fixed

This commit is contained in:
copycat-killer 2016-08-04 12:34:22 +02:00
parent 85ed92417d
commit dd19cbc77a
1 changed files with 1 additions and 2 deletions

View File

@ -54,7 +54,7 @@ function quake:display()
-- The client does not exist, we spawn it -- The client does not exist, we spawn it
awful.util.spawn(self.app .. " " .. string.format(self.argname, self.name), awful.util.spawn(self.app .. " " .. string.format(self.argname, self.name),
false, self.screen) false, self.screen)
self.exist = true self.notexist = true
return return
end end
@ -63,7 +63,6 @@ function quake:display()
client.border_width = 0 client.border_width = 0
client.size_hints_honor = false client.size_hints_honor = false
if self.notexist then if self.notexist then
-- set default geometry only on first spawn
client:geometry(self.geometry) client:geometry(self.geometry)
self.notexist = false self.notexist = false
end end