--kpress("I", "ioncore.goto_activity()"),
bdoc("Clear all tags."),
- kpress("T", "ioncore.clear_tags()"),
+ kpress("T", "ioncore.tagged_clear()"),
}),
bdoc("Go to n:th screen on multihead setup."),
kpress(META.."G", "mod_query.query_gotoclient(_)"),
bdoc("Display context menu."),
- --kpress(META.."M", "mod_menu.menu(_, _chld, 'ctxmenu')"),
- kpress(META.."M", "mod_query.query_menu(_, _chld, 'ctxmenu', 'Context menu:')"),
+ --kpress(META.."M", "mod_menu.menu(_, _sub, 'ctxmenu')"),
+ kpress(META.."M", "mod_query.query_menu(_, _sub, 'ctxmenu', 'Context menu:')"),
})
}),
bdoc("Display context menu."),
- mpress("Button3", "mod_menu.pmenu(_, _chld, 'ctxmenu')"),
+ mpress("Button3", "mod_menu.pmenu(_, _sub, 'ctxmenu')"),
bdoc("Begin move/resize mode."),
kpress(META.."R", "WFrame.begin_kbresize(_)"),
-- Frames for transient windows ignore this bindmap
defbindings("WFrame.toplevel", {
- bdoc("Tag current object within the frame."),
- kpress(META.."T", "WRegion.set_tagged(_sub, 'toggle')", "_sub:non-nil"),
-
bdoc("Query for a client window to attach."),
kpress(META.."A", "mod_query.query_attachclient(_)"),
submap(META.."K", {
+ -- Display tab numbers when modifiers are released
+ submap_wait("ioncore.tabnum.show(_)"),
+
bdoc("Switch to n:th object within the frame."),
kpress("1", "WFrame.switch_nth(_, 0)"),
kpress("2", "WFrame.switch_nth(_, 1)"),
menuentry("Close", "WRegion.rqclose_propagate(_, _sub)"),
-- Low-priority entries
menuentry("Attach tagged", "ioncore.tagged_attach(_)", { priority = 0 }),
- menuentry("Clear tags", "ioncore.clear_tags()", { priority = 0 }),
+ menuentry("Clear tags", "ioncore.tagged_clear()", { priority = 0 }),
menuentry("Window info", "mod_query.show_tree(_, _sub)", { priority = 0 }),
})