summaryrefslogtreecommitdiff
path: root/pager.lua
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-04-08 16:17:50 +0200
committerAnton Khirnov <anton@khirnov.net>2020-04-08 16:17:50 +0200
commit72d920a6a0e634de90fbeefa55670c4754355101 (patch)
tree00308f105c6a9485cdbc6da49ba2e0b39f480149 /pager.lua
parent3f1c26c46a6ebcde8fac13a1b1fdb1e5872a2cd3 (diff)
pager: make sure we don't try to set a nil window title
Diffstat (limited to 'pager.lua')
-rw-r--r--pager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/pager.lua b/pager.lua
index cdffe47..23c28df 100644
--- a/pager.lua
+++ b/pager.lua
@@ -33,7 +33,7 @@ function Page:update()
tb:set_font(font)
- client:connect_signal("property::name", function() tb:set_text(client.name) end)
+ client:connect_signal("property::name", function() tb:set_text(client.name or "") end)
client:connect_signal("focus",
function(c)
if c.screen == self.pager.init_data.screen then