rules: switchtotag: fix usage of awful.tag.viewmore (#1895)

This passes in the client's screen for now.

In the long run this should get fixed via
https://github.com/awesomeWM/awesome/issues/1883, but that is more
involved.

Fixes https://github.com/awesomeWM/awesome/issues/1886.
This commit is contained in:
Daniel Hahler 2017-07-02 11:26:41 +02:00 committed by GitHub
parent 719406ed5c
commit d4924988df
1 changed files with 1 additions and 2 deletions

View File

@ -301,8 +301,7 @@ end
function rules.delayed_properties.switchtotag(c, value) function rules.delayed_properties.switchtotag(c, value)
if not value then return end if not value then return end
atag.viewmore(c:tags(), c.screen)
atag.viewmore(c:tags())
end end
function rules.extra_properties.geometry(c, _, props) function rules.extra_properties.geometry(c, _, props)