Update icon when WMIcon changes.

svn path=/trunk/kdebase/kwin/; revision=83169
This commit is contained in:
Waldo Bastian 2001-02-16 20:58:33 +00:00
parent 5db5950bc1
commit 6f55f7337a

View file

@ -842,7 +842,8 @@ bool Client::windowEvent( XEvent * e)
fetchName(); fetchName();
if ( ( dirty & NET::WMStrut ) != 0 ) if ( ( dirty & NET::WMStrut ) != 0 )
workspace()->updateClientArea(); workspace()->updateClientArea();
if ( ( dirty & NET::WMIcon) != 0 )
getWMHints();
switch (e->type) { switch (e->type) {
case UnmapNotify: case UnmapNotify:
@ -1136,7 +1137,6 @@ bool Client::propertyNotify( XPropertyEvent& e )
default: default:
if ( e.atom == atoms->wm_protocols ) if ( e.atom == atoms->wm_protocols )
getWindowProtocols(); getWindowProtocols();
break; break;
} }
return TRUE; return TRUE;