Ensure client is assigned to an active tag

This commit is contained in:
James Reed 2021-03-05 17:03:35 -07:00
parent c8a3ed3aaf
commit b2cfda066b
No known key found for this signature in database
GPG Key ID: 0BE2BD33C5E8125E
1 changed files with 4 additions and 0 deletions

View File

@ -43,6 +43,10 @@ awful.rules.add_rule_source("launch",
data.timer:stop() data.timer:stop()
if data.props.tag and not data.props.tag.activated then
data.props.tag = awful.screen.focused().selected_tag
end
gears.table.crush(props, data.props) gears.table.crush(props, data.props)
if data.callback then if data.callback then