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

This commit is contained in:
Kris Maglione 2010-06-04 16:49:34 -04:00
parent 21f180b4ea
commit 6639d9d02f

View File

@ -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);