From: Luke Bonham Date: Mon, 10 Jul 2017 10:00:49 +0000 (+0200) Subject: quake: avoid calling compute_size whenever possible X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/c89fc17636ac1d52ee9ca2f66c5033f9ea7e50fa?pf=etc quake: avoid calling compute_size whenever possible --- diff --git a/util/quake.lua b/util/quake.lua index 0f6b54a..bf78fce 100644 --- a/util/quake.lua +++ b/util/quake.lua @@ -66,7 +66,7 @@ function quake:display() client.floating = true client.border_width = self.border client.size_hints_honor = false - client:geometry(self:compute_size()) + client:geometry(self.geometry[self.screen] or self:compute_size()) -- Set not sticky and on top client.sticky = false