ewmh: add fake _NET_WM_VISIBLE_ICON_NAME support
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
77140598d7
commit
f99e069a65
3
ewmh.c
3
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_name;
|
||||||
static xcb_atom_t net_wm_visible_name;
|
static xcb_atom_t net_wm_visible_name;
|
||||||
static xcb_atom_t net_wm_icon_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;
|
||||||
static xcb_atom_t net_wm_window_type_normal;
|
static xcb_atom_t net_wm_window_type_normal;
|
||||||
static xcb_atom_t net_wm_window_type_dock;
|
static xcb_atom_t net_wm_window_type_dock;
|
||||||
|
@ -87,6 +88,7 @@ static AtomItem AtomNames[] =
|
||||||
{ "_NET_WM_NAME", &net_wm_name },
|
{ "_NET_WM_NAME", &net_wm_name },
|
||||||
{ "_NET_WM_VISIBLE_NAME", &net_wm_visible_name },
|
{ "_NET_WM_VISIBLE_NAME", &net_wm_visible_name },
|
||||||
{ "_NET_WM_ICON_NAME", &net_wm_icon_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", &net_wm_window_type },
|
||||||
{ "_NET_WM_WINDOW_TYPE_NORMAL", &net_wm_window_type_normal },
|
{ "_NET_WM_WINDOW_TYPE_NORMAL", &net_wm_window_type_normal },
|
||||||
{ "_NET_WM_WINDOW_TYPE_DOCK", &net_wm_window_type_dock },
|
{ "_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_name;
|
||||||
atom[i++] = net_wm_icon_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;
|
||||||
atom[i++] = net_wm_window_type_normal;
|
atom[i++] = net_wm_window_type_normal;
|
||||||
atom[i++] = net_wm_window_type_dock;
|
atom[i++] = net_wm_window_type_dock;
|
||||||
|
|
Loading…
Reference in New Issue