[hackers] [wmii] [menu] Set tags and window class on menu window. || Kris Maglione

From: <hg_AT_suckless.org>
Date: Fri, 4 Jun 2010 20:59:20 +0000 (UTC)

changeset: 2703:c46e6c24afa0
tag: tip
user: Kris Maglione <kris_AT_suckless.org>
date: Fri Jun 04 16:49:34 2010 -0400
files: cmd/menu/menu.c
description:
[menu] Set tags and window class on menu window.

diff -r 0f9b8782e1bf -r c46e6c24afa0 cmd/menu/menu.c
--- a/cmd/menu/menu.c Fri Jun 04 16:46:25 2010 -0400
+++ b/cmd/menu/menu.c Fri Jun 04 16:49:34 2010 -0400
@@ -33,6 +33,9 @@
 
         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);
Received on Fri Jun 04 2010 - 20:59:20 UTC

This archive was generated by hypermail 2.2.0 : Fri Jun 04 2010 - 21:00:09 UTC