Sfoglia il codice sorgente

~/.config/awesome/rc.lua: Prevent a nil slipping in.

That makes nasty error messages that appear when focusing an unnamed
window go away. Happy! :)
Lucas Stadler 13 anni fa
parent
commit
8c598bc5dc
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      .config/awesome/rc.lua

+ 3 - 0
.config/awesome/rc.lua

@ -382,5 +382,8 @@ screen[1]:connect_signal("tag::history::update", function()
382 382
end)
383 383
384 384
client.connect_signal("focus", function(c)
385
	if (c.name == nil) then
386
		return
387
	end
385 388
	os.execute("/home/lu/.bin/events focus '" .. c.name .. "'")
386 389
end)