wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

commit 6639d9d02f0d8c9caffac051377d3e0e17bba6a6
parent 21f180b4ea657d2ec506a26704d8d5f6e54483d2
Author: Kris Maglione <kris@suckless.org>
Date:   Fri,  4 Jun 2010 16:49:34 -0400

[menu] Set tags and window class on menu window.

Diffstat:
cmd/menu/menu.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/cmd/menu/menu.c b/cmd/menu/menu.c @@ -33,6 +33,9 @@ menu_init(void) { changeprop_long(barwin, Net("WM_WINDOW_TYPE"), "ATOM", (long[]){ TYPE("MENU") }, 1); + changeprop_string(barwin, "_WMII_TAGS", "sel"); + changeprop_textlist(barwin, "WM_CLASS", "STRING", + (char*[3]){ "wimenu", "wimenu", nil }); sethandler(barwin, &handlers); mapwin(barwin);