From 6f55f7337a87af94d8701dcf9e39e85e5333e82b Mon Sep 17 00:00:00 2001 From: Waldo Bastian Date: Fri, 16 Feb 2001 20:58:33 +0000 Subject: [PATCH] Update icon when WMIcon changes. svn path=/trunk/kdebase/kwin/; revision=83169 --- client.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client.cpp b/client.cpp index ae50c7a0f9..42b8fc2e0c 100644 --- a/client.cpp +++ b/client.cpp @@ -842,7 +842,8 @@ bool Client::windowEvent( XEvent * e) fetchName(); if ( ( dirty & NET::WMStrut ) != 0 ) workspace()->updateClientArea(); - + if ( ( dirty & NET::WMIcon) != 0 ) + getWMHints(); switch (e->type) { case UnmapNotify: @@ -1136,7 +1137,6 @@ bool Client::propertyNotify( XPropertyEvent& e ) default: if ( e.atom == atoms->wm_protocols ) getWindowProtocols(); - break; } return TRUE;