mirror of https://github.com/lcpz/lain.git
quake: set default geometry only on first spawn; typo fixed
This commit is contained in:
parent
85ed92417d
commit
dd19cbc77a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue