diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-03-11 00:59:13 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-03-11 00:59:13 +0000 |
| commit | bd19fd06db8905ef835109414314ef928370a7d7 (patch) | |
| tree | 12229712fce0d8fea3769803452ed2867f5d0e4b /openbox/event.c | |
| parent | 35ab1264ee5efe0c0a5458329f4e7d2ebda43b98 (diff) | |
remove the kde icon hint, they use the EWMH icon now
Diffstat (limited to 'openbox/event.c')
| -rw-r--r-- | openbox/event.c | 10 |
1 files changed, 3 insertions, 7 deletions
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) { |
