Merge pull request #344 from 2009/patch-5
Fix issue with `add_tag` when not using floating layout
This commit is contained in:
commit
1542a800fd
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ function util.add_tag(layout)
|
||||||
textbox = awful.screen.focused().mypromptbox.widget,
|
textbox = awful.screen.focused().mypromptbox.widget,
|
||||||
exe_callback = function(name)
|
exe_callback = function(name)
|
||||||
if not name or #name == 0 then return end
|
if not name or #name == 0 then return end
|
||||||
awful.tag.add(name, { screen = awful.screen.focused(), layout = layout or awful.layout.layouts[0] }):view_only()
|
awful.tag.add(name, { screen = awful.screen.focused(), layout = layout or awful.layout.layouts[1] }):view_only()
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue