A little patch : 1.7.126-01-tildouf ?
tildouf (tildouf@club-internet.fr)
Tue, 03 Aug 1999 21:25:57 +0000
This is a multi-part message in MIME format.
--------------9E4BAB76AC887BE2C6E95B44
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hello Ethan !
I send to you a little patch wich give
for icon title the same background as
the title bar (defined in look config).
I don't really know if all is ok, and if
it goes on the right way.
But it work well for me !
--------------9E4BAB76AC887BE2C6E95B44
Content-Type: text/plain; charset=us-ascii;
name="patch-tildouf"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="patch-tildouf"
diff -N -u -r AfterStep-1.7.126/ChangeLog AfterStep-devel/ChangeLog
--- AfterStep-1.7.126/ChangeLog Sat Jul 31 21:02:33 1999
+++ AfterStep-devel/ChangeLog Tue Aug 3 11:55:41 1999
@@ -1,3 +1,7 @@
+1.7.26 patch 1 (tildouf)
+ o append a new inside effect: icon title background is the same as the
+ title bar background defined in look config file.
+
1.7.111 patch 15 (sasha+Tigr)
o applyed Tigr's patch for better handling of iconifyed windows with no
icon associated with them.
diff -N -u -r AfterStep-1.7.126/src/afterstep/icons.c AfterStep-devel/src/afterstep/icons.c
--- AfterStep-1.7.126/src/afterstep/icons.c Sat Jul 31 21:02:34 1999
+++ AfterStep-devel/src/afterstep/icons.c Tue Aug 3 11:54:16 1999
@@ -240,6 +240,7 @@
void
DrawIconWindow (ASWindow * Tmp_win)
{
+ Pixmap tmpPix;
GC ForeGC, BackGC, Shadow, Relief;
#ifdef NO_ICON_BACKGROUND
Pixel TextColor, BackColor;
@@ -320,7 +321,23 @@
XSetWindowBackground (dpy, Tmp_win->icon_pixmap_w, BackColor);
if (Tmp_win->icon_w != None)
- XSetWindowBackground (dpy, Tmp_win->icon_w, BackColor);
+ {
+ XSetWindowBackground (dpy, Tmp_win->icon_w, BackColor);
+
+#ifndef NO_TEXTURE
+ if (Tmp_win->flags & STICKY)
+ {
+ tmpPix=mystyle_make_pixmap (Scr.MSSWindow,
+ Tmp_win->icon_w_width,Tmp_win->icon_w_height, None);
+ }
+ else
+ {
+ tmpPix=mystyle_make_pixmap (Scr.MSUWindow,
+ Tmp_win->icon_w_width,Tmp_win->icon_w_height, None);
+ }
+ XSetWindowBackgroundPixmap (dpy, Tmp_win->icon_w, tmpPix);
+#endif
+ }
if (Tmp_win->icon_pixmap_w != None)
XMoveWindow (dpy, Tmp_win->icon_pixmap_w, Tmp_win->icon_x_loc,
--------------9E4BAB76AC887BE2C6E95B44--
--
WWW: http://www.afterstep.org/
FTP: ftp://ftp.afterstep.org/
MAIL: http://www.calderasystems.com/linuxcenter/forums/afterstep.html