xwinwm/src Window.cc,1.2,1.3

Kensuke Matsuzaki xserver-commit at pdx.freedesktop.org
Thu Apr 15 12:34:40 EST 2004


Committed by: zakki

Update of /cvs/xserver/xwinwm/src
In directory pdx:/tmp/cvs-serv22168/src

Modified Files:
	Window.cc 
Log Message:
Update Windows window icon when X windos icon.


Index: Window.cc
===================================================================
RCS file: /cvs/xserver/xwinwm/src/Window.cc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- a/Window.cc	13 Apr 2004 16:54:49 -0000	1.2
+++ b/Window.cc	15 Apr 2004 02:34:37 -0000	1.3
@@ -809,6 +809,13 @@
 
   XSetWMHints(blackbox->getXDisplay(), window_in_taskbar, wmhint);
 
+  //Redraw Icon
+  XWindowsWMFrameDraw(blackbox->getXDisplay(), 0, client.window,
+                      frame_style,
+                      frame_style_ex,
+                      client.rect.x(), client.rect.y(),
+                      client.rect.width(), client.rect.height());
+
   XFree(wmhint);
 }
 




More information about the xserver-commit mailing list