From f99e069a65a5112db4880e8bc908b9832c721298 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 17 Jun 2008 22:49:28 +0200 Subject: [PATCH] ewmh: add fake _NET_WM_VISIBLE_ICON_NAME support Signed-off-by: Julien Danjou --- ewmh.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ewmh.c b/ewmh.c index 2a4173d2b..d6db92160 100644 --- a/ewmh.c +++ b/ewmh.c @@ -47,6 +47,7 @@ static xcb_atom_t net_close_window; static xcb_atom_t net_wm_name; static xcb_atom_t net_wm_visible_name; static xcb_atom_t net_wm_icon_name; +static xcb_atom_t net_wm_visible_icon_name; static xcb_atom_t net_wm_window_type; static xcb_atom_t net_wm_window_type_normal; static xcb_atom_t net_wm_window_type_dock; @@ -87,6 +88,7 @@ static AtomItem AtomNames[] = { "_NET_WM_NAME", &net_wm_name }, { "_NET_WM_VISIBLE_NAME", &net_wm_visible_name }, { "_NET_WM_ICON_NAME", &net_wm_icon_name }, + { "_NET_WM_VISIBLE_ICON_NAME", &net_wm_visible_icon_name }, { "_NET_WM_WINDOW_TYPE", &net_wm_window_type }, { "_NET_WM_WINDOW_TYPE_NORMAL", &net_wm_window_type_normal }, { "_NET_WM_WINDOW_TYPE_DOCK", &net_wm_window_type_dock }, @@ -161,6 +163,7 @@ ewmh_set_supported_hints(int phys_screen) atom[i++] = net_wm_name; atom[i++] = net_wm_icon_name; + atom[i++] = net_wm_visible_icon_name; atom[i++] = net_wm_window_type; atom[i++] = net_wm_window_type_normal; atom[i++] = net_wm_window_type_dock;