remove the kde icon hint, they use the EWMH icon now
Dana Jansens danakj@orodu.net
4 files changed,
3 insertions(+),
28 deletions(-)
M
openbox/client.c
→
openbox/client.c
@@ -1776,23 +1776,6 @@ g_assert(i <= num);
} g_free(data); - } else if (PROP_GETA32(self->window, kwm_win_icon, - kwm_win_icon, &data, &num)) { - if (num == 2) { - self->nicons++; - self->icons = g_new(ObClientIcon, self->nicons); - xerror_set_ignore(TRUE); - if (!RrPixmapToRGBA(ob_rr_inst, - data[0], data[1], - &self->icons[self->nicons-1].width, - &self->icons[self->nicons-1].height, - &self->icons[self->nicons-1].data)) { - g_free(&self->icons[self->nicons-1]); - self->nicons--; - } - xerror_set_ignore(FALSE); - } - g_free(data); } else { XWMHints *hints;
M
openbox/event.c
→
openbox/event.c
@@ -1110,11 +1110,8 @@ b == prop_atoms.net_wm_icon_name ||
b == prop_atoms.wm_icon_name)) { continue; } - if ((a == prop_atoms.net_wm_icon || - a == prop_atoms.kwm_win_icon) - && - (b == prop_atoms.net_wm_icon || - b == prop_atoms.kwm_win_icon)) + if (a == prop_atoms.net_wm_icon && + b == prop_atoms.net_wm_icon) continue; XPutBackEvent(ob_display, &ce);@@ -1148,8 +1145,7 @@ }
else if (msgtype == prop_atoms.net_wm_strut) { client_update_strut(client); } - else if (msgtype == prop_atoms.net_wm_icon || - msgtype == prop_atoms.kwm_win_icon) { + else if (msgtype == prop_atoms.net_wm_icon) { client_update_icons(client); } else if (msgtype == prop_atoms.sm_client_id) {
M
openbox/prop.c
→
openbox/prop.c
@@ -146,8 +146,6 @@
CREATE(kde_wm_change_state, "_KDE_WM_CHANGE_STATE"); CREATE(kde_net_wm_window_type_override,"_KDE_NET_WM_WINDOW_TYPE_OVERRIDE"); - CREATE(kwm_win_icon, "KWM_WIN_ICON"); - CREATE(rootpmapid, "_XROOTPMAP_ID"); CREATE(esetrootid, "ESETROOT_PMAP_ID");
M
openbox/prop.h
→
openbox/prop.h
@@ -158,8 +158,6 @@
Atom kde_wm_change_state; Atom kde_net_wm_window_type_override; - Atom kwm_win_icon; - Atom rootpmapid; Atom esetrootid;