From bd19fd06db8905ef835109414314ef928370a7d7 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 11 Mar 2007 00:59:13 +0000 Subject: remove the kde icon hint, they use the EWMH icon now --- openbox/event.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'openbox/event.c') diff --git a/openbox/event.c b/openbox/event.c index 2c243882..558872e8 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -1110,11 +1110,8 @@ static void event_handle_client(ObClient *client, XEvent *e) 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 @@ static void event_handle_client(ObClient *client, XEvent *e) 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) { -- cgit v1.2.3