mirror of
https://github.com/0intro/wmii
synced 2024-11-22 05:42:05 +03:00
[menu] Set tags and window class on menu window.
This commit is contained in:
parent
21f180b4ea
commit
6639d9d02f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user