Feature request: button icons should reflect the state (sticky, shaded, maximized)
Jens Guballa
J.Guballa at t-online.de
Sun Mar 16 21:17:06 CET 2003
Hi,
On Sat, Mar 15, 2003 at 09:53:35PM +0100, Jens Guballa wrote:
> Hi everybody,
>
> as already mentioned in a previous mail, I think some title buttons
> should reflect the state of the window, e.g. the icon for the
> sticky-button should change if the window is made sticky. Beside the
> sticky button also the shade and the maximize button should reflect the
> corresponding state. This would require some more *.xpm files for the
> themes.
>
> Themes that do not provide these new *.xpm files (yet) should not be
> affected.
>
> Before I start writing a patch I would like to hear other opinions.
> Any thoughts?
In the meantime I wrote the patch. As an example I also included the
necessary *.xpm files for the gtk-theme (not my favorite theme, but it
was easy to create the icons).
I would be glad if this feature would become part of xfwm4.
Jens
-------------- next part --------------
diff -Nur xfce-devel.orig/xfwm4/config.log xfce-devel/xfwm4/config.log
--- xfce-devel.orig/xfwm4/config.log Sun Mar 16 20:36:43 2003
+++ xfce-devel/xfwm4/config.log Sun Mar 16 20:48:55 2003
@@ -1007,6 +1007,7 @@
config.status:772: creating themes/variation/Makefile
config.status:772: creating themes/xfce/Makefile
config.status:876: creating config.h
+config.status:1019: config.h is unchanged
config.status:1132: executing depfiles commands
config.status:1132: executing default-1 commands
Binary files xfce-devel.orig/xfwm4/po/es_MX.gmo and xfce-devel/xfwm4/po/es_MX.gmo differ
diff -Nur xfce-devel.orig/xfwm4/src/client.c xfce-devel/xfwm4/src/client.c
--- xfce-devel.orig/xfwm4/src/client.c Sun Mar 16 15:26:36 2003
+++ xfce-devel/xfwm4/src/client.c Sun Mar 16 20:11:56 2003
@@ -4138,7 +4138,6 @@
if(c->button_pressed[b])
{
c->button_pressed[b] = False;
- frameDraw(c, FALSE, FALSE);
switch (b)
{
case HIDE_BUTTON:
@@ -4181,6 +4180,7 @@
clientToggleSticky(c, TRUE);
break;
}
+ frameDraw(c, FALSE, FALSE);
}
}
diff -Nur xfce-devel.orig/xfwm4/src/frame.c xfce-devel/xfwm4/src/frame.c
--- xfce-devel.orig/xfwm4/src/frame.c Sun Mar 16 15:26:37 2003
+++ xfce-devel/xfwm4/src/frame.c Sun Mar 16 20:21:01 2003
@@ -405,11 +405,45 @@
return chr;
}
+MyPixmap *frameGetPixmap(Client * c, int button, int state)
+{
+
+ switch (button)
+ {
+ case SHADE_BUTTON:
+ if (CLIENT_FLAG_TEST(c, CLIENT_FLAG_SHADED) && params.toggled_buttons[TOGGLED_SHADE_BUTTON][state].pixmap)
+ {
+ return ¶ms.toggled_buttons[TOGGLED_SHADE_BUTTON][state];
+ }
+ return ¶ms.buttons[SHADE_BUTTON][state];
+ break;
+
+ case STICK_BUTTON:
+ if (CLIENT_FLAG_TEST(c, CLIENT_FLAG_STICKY) && params.toggled_buttons[TOGGLED_STICK_BUTTON][state].pixmap)
+ {
+ return ¶ms.toggled_buttons[TOGGLED_STICK_BUTTON][state];
+ }
+ return ¶ms.buttons[STICK_BUTTON][state];
+ break;
+
+ case MAXIMIZE_BUTTON:
+ if (CLIENT_FLAG_TEST(c, CLIENT_FLAG_MAXIMIZED) && params.toggled_buttons[TOGGLED_MAXIMIZE_BUTTON][state].pixmap)
+ {
+ return ¶ms.toggled_buttons[TOGGLED_MAXIMIZE_BUTTON][state];
+ }
+ return ¶ms.buttons[MAXIMIZE_BUTTON][state];
+ break;
+ }
+ return ¶ms.buttons[button][state];
+}
+
+
static void frameSetShape(Client * c, int state, ClientPixmapCache * pm_cache, int button_x[BUTTON_COUNT])
{
Window temp;
int i;
XRectangle rect;
+ MyPixmap * my_pixmap;
DBG("entering frameSetShape\n");
DBG("setting shape for client (0x%lx)\n", c->window);
@@ -455,7 +489,8 @@
}
else
{
- XShapeCombineMask(dpy, MYWINDOW_XWINDOW(c->buttons[i]), ShapeBounding, 0, 0, params.buttons[i][state].mask, ShapeSet);
+ my_pixmap = frameGetPixmap(c,i,state);
+ XShapeCombineMask(dpy, MYWINDOW_XWINDOW(c->buttons[i]), ShapeBounding, 0, 0, my_pixmap->mask, ShapeSet);
}
}
@@ -532,6 +567,7 @@
int right_height;
int button_x[BUTTON_COUNT];
gboolean requires_clearing = FALSE;
+ MyPixmap * my_pixmap;
DBG("entering frameDraw\n");
DBG("drawing frame for \"%s\" (0x%lx)\n", c->name, c->window);
@@ -607,9 +643,13 @@
{
XSetWindowBackgroundPixmap(dpy, MYWINDOW_XWINDOW(c->buttons[button]), params.buttons[button][PRESSED].pixmap);
}
- else if(params.buttons[button][state].pixmap)
+ else
{
- XSetWindowBackgroundPixmap(dpy, MYWINDOW_XWINDOW(c->buttons[button]), params.buttons[button][state].pixmap);
+ my_pixmap = frameGetPixmap(c,button,state);
+ if(my_pixmap->pixmap)
+ {
+ XSetWindowBackgroundPixmap(dpy, MYWINDOW_XWINDOW(c->buttons[button]), my_pixmap->pixmap);
+ }
}
myWindowShow(&c->buttons[button], x, (frameTop(c) - params.buttons[button][ACTIVE].height) / 2, params.buttons[button][ACTIVE].width, params.buttons[button][ACTIVE].height, TRUE);
button_x[button] = x;
@@ -633,9 +673,13 @@
{
XSetWindowBackgroundPixmap(dpy, MYWINDOW_XWINDOW(c->buttons[button]), params.buttons[button][PRESSED].pixmap);
}
- else if(params.buttons[button][state].pixmap)
+ else
{
- XSetWindowBackgroundPixmap(dpy, MYWINDOW_XWINDOW(c->buttons[button]), params.buttons[button][state].pixmap);
+ my_pixmap = frameGetPixmap(c,button,state);
+ if(my_pixmap->pixmap)
+ {
+ XSetWindowBackgroundPixmap(dpy, MYWINDOW_XWINDOW(c->buttons[button]), my_pixmap->pixmap);
+ }
}
x = x - params.buttons[button][ACTIVE].width - params.button_spacing;
myWindowShow(&c->buttons[button], x, (frameTop(c) - params.buttons[button][ACTIVE].height) / 2, params.buttons[button][ACTIVE].width, params.buttons[button][ACTIVE].height, TRUE);
diff -Nur xfce-devel.orig/xfwm4/src/settings.c xfce-devel/xfwm4/src/settings.c
--- xfce-devel.orig/xfwm4/src/settings.c Sun Mar 16 15:26:38 2003
+++ xfce-devel/xfwm4/src/settings.c Sun Mar 16 20:23:59 2003
@@ -532,6 +532,12 @@
loadPixmap(dpy, ¶ms.buttons[MENU_BUTTON][ACTIVE], theme, "menu-active.xpm", colsym, 20);
loadPixmap(dpy, ¶ms.buttons[MENU_BUTTON][INACTIVE], theme, "menu-inactive.xpm", colsym, 20);
loadPixmap(dpy, ¶ms.buttons[MENU_BUTTON][PRESSED], theme, "menu-pressed.xpm", colsym, 20);
+ loadPixmap(dpy, ¶ms.toggled_buttons[TOGGLED_SHADE_BUTTON][ACTIVE], theme, "shaded-active.xpm", colsym, 20);
+ loadPixmap(dpy, ¶ms.toggled_buttons[TOGGLED_SHADE_BUTTON][INACTIVE], theme, "shaded-inactive.xpm", colsym, 20);
+ loadPixmap(dpy, ¶ms.toggled_buttons[TOGGLED_STICK_BUTTON][ACTIVE], theme, "sticked-active.xpm", colsym, 20);
+ loadPixmap(dpy, ¶ms.toggled_buttons[TOGGLED_STICK_BUTTON][INACTIVE], theme, "sticked-inactive.xpm", colsym, 20);
+ loadPixmap(dpy, ¶ms.toggled_buttons[TOGGLED_MAXIMIZE_BUTTON][ACTIVE], theme, "maximized-active.xpm", colsym, 20);
+ loadPixmap(dpy, ¶ms.toggled_buttons[TOGGLED_MAXIMIZE_BUTTON][INACTIVE], theme, "maximized-inactive.xpm", colsym, 20);
loadPixmap(dpy, ¶ms.title[TITLE_1][ACTIVE], theme, "title-1-active.xpm", colsym, 20);
loadPixmap(dpy, ¶ms.title[TITLE_1][INACTIVE], theme, "title-1-inactive.xpm", colsym, 20);
loadPixmap(dpy, ¶ms.title[TITLE_2][ACTIVE], theme, "title-2-active.xpm", colsym, 20);
@@ -909,6 +915,11 @@
freePixmap(dpy, ¶ms.buttons[i][INACTIVE]);
freePixmap(dpy, ¶ms.buttons[i][PRESSED]);
}
+ for(i = 0; i < TOGGLED_BUTTON_COUNT; i++)
+ {
+ freePixmap(dpy, ¶ms.toggled_buttons[i][ACTIVE]);
+ freePixmap(dpy, ¶ms.toggled_buttons[i][INACTIVE]);
+ }
for(i = 0; i < 5; i++)
{
freePixmap(dpy, ¶ms.title[i][ACTIVE]);
@@ -974,6 +985,11 @@
initPixmap(¶ms.buttons[i][ACTIVE]);
initPixmap(¶ms.buttons[i][INACTIVE]);
initPixmap(¶ms.buttons[i][PRESSED]);
+ }
+ for(i = 0; i < TOGGLED_BUTTON_COUNT; i++)
+ {
+ initPixmap(¶ms.toggled_buttons[i][ACTIVE]);
+ initPixmap(¶ms.toggled_buttons[i][INACTIVE]);
}
for(i = 0; i < 5; i++)
{
diff -Nur xfce-devel.orig/xfwm4/src/settings.h xfce-devel/xfwm4/src/settings.h
--- xfce-devel.orig/xfwm4/src/settings.h Sun Mar 16 15:26:38 2003
+++ xfce-devel/xfwm4/src/settings.h Sun Mar 16 20:25:07 2003
@@ -54,6 +54,11 @@
#define TITLE_SEPARATOR 6
#define BUTTON_COUNT 6
+#define TOGGLED_SHADE_BUTTON 0
+#define TOGGLED_STICK_BUTTON 1
+#define TOGGLED_MAXIMIZE_BUTTON 2
+#define TOGGLED_BUTTON_COUNT 3
+
#define KEY_MOVE_UP 0
#define KEY_MOVE_DOWN 1
#define KEY_MOVE_LEFT 2
@@ -138,6 +143,7 @@
MyColor title_colors[2];
MyKey keys[KEY_COUNT];
MyPixmap buttons[BUTTON_COUNT][3];
+ MyPixmap toggled_buttons[TOGGLED_BUTTON_COUNT][2];
MyPixmap corners[4][2];
MyPixmap sides[3][2];
MyPixmap title[5][2];
Binary files xfce-devel.orig/xfwm4/src/xfwm4 and xfce-devel/xfwm4/src/xfwm4 differ
Binary files xfce-devel.orig/xfwm4/src/xfwm4-client.o and xfce-devel/xfwm4/src/xfwm4-client.o differ
Binary files xfce-devel.orig/xfwm4/src/xfwm4-events.o and xfce-devel/xfwm4/src/xfwm4-events.o differ
Binary files xfce-devel.orig/xfwm4/src/xfwm4-frame.o and xfce-devel/xfwm4/src/xfwm4-frame.o differ
Binary files xfce-devel.orig/xfwm4/src/xfwm4-hints.o and xfce-devel/xfwm4/src/xfwm4-hints.o differ
Binary files xfce-devel.orig/xfwm4/src/xfwm4-main.o and xfce-devel/xfwm4/src/xfwm4-main.o differ
Binary files xfce-devel.orig/xfwm4/src/xfwm4-misc.o and xfce-devel/xfwm4/src/xfwm4-misc.o differ
Binary files xfce-devel.orig/xfwm4/src/xfwm4-mywindow.o and xfce-devel/xfwm4/src/xfwm4-mywindow.o differ
Binary files xfce-devel.orig/xfwm4/src/xfwm4-parserc.o and xfce-devel/xfwm4/src/xfwm4-parserc.o differ
Binary files xfce-devel.orig/xfwm4/src/xfwm4-pixmap.o and xfce-devel/xfwm4/src/xfwm4-pixmap.o differ
Binary files xfce-devel.orig/xfwm4/src/xfwm4-session.o and xfce-devel/xfwm4/src/xfwm4-session.o differ
Binary files xfce-devel.orig/xfwm4/src/xfwm4-settings.o and xfce-devel/xfwm4/src/xfwm4-settings.o differ
Binary files xfce-devel.orig/xfwm4/src/xfwm4-spinning_cursor.o and xfce-devel/xfwm4/src/xfwm4-spinning_cursor.o differ
Binary files xfce-devel.orig/xfwm4/src/xfwm4-workspaces.o and xfce-devel/xfwm4/src/xfwm4-workspaces.o differ
diff -Nur xfce-devel.orig/xfwm4/themes/gtk/Makefile xfce-devel/xfwm4/themes/gtk/Makefile
--- xfce-devel.orig/xfwm4/themes/gtk/Makefile Sun Mar 16 20:36:40 2003
+++ xfce-devel/xfwm4/themes/gtk/Makefile Sun Mar 16 20:48:53 2003
@@ -174,6 +174,8 @@
maximize-active.xpm \
maximize-inactive.xpm \
maximize-pressed.xpm \
+ maximized-active.xpm \
+ maximized-inactive.xpm \
menu-active.xpm \
menu-inactive.xpm \
menu-pressed.xpm \
@@ -182,9 +184,13 @@
shade-active.xpm \
shade-inactive.xpm \
shade-pressed.xpm \
+ shaded-active.xpm \
+ shaded-inactive.xpm \
stick-active.xpm \
stick-inactive.xpm \
stick-pressed.xpm \
+ sticked-active.xpm \
+ sticked-inactive.xpm \
themerc \
title-1-active.xpm \
title-1-inactive.xpm \
diff -Nur xfce-devel.orig/xfwm4/themes/gtk/Makefile.am xfce-devel/xfwm4/themes/gtk/Makefile.am
--- xfce-devel.orig/xfwm4/themes/gtk/Makefile.am Sat Jun 1 13:25:23 2002
+++ xfce-devel/xfwm4/themes/gtk/Makefile.am Sun Mar 16 20:34:19 2003
@@ -17,6 +17,8 @@
maximize-active.xpm \
maximize-inactive.xpm \
maximize-pressed.xpm \
+ maximized-active.xpm \
+ maximized-inactive.xpm \
menu-active.xpm \
menu-inactive.xpm \
menu-pressed.xpm \
@@ -25,9 +27,13 @@
shade-active.xpm \
shade-inactive.xpm \
shade-pressed.xpm \
+ shaded-active.xpm \
+ shaded-inactive.xpm \
stick-active.xpm \
stick-inactive.xpm \
stick-pressed.xpm \
+ sticked-active.xpm \
+ sticked-inactive.xpm \
themerc \
title-1-active.xpm \
title-1-inactive.xpm \
diff -Nur xfce-devel.orig/xfwm4/themes/gtk/Makefile.in xfce-devel/xfwm4/themes/gtk/Makefile.in
--- xfce-devel.orig/xfwm4/themes/gtk/Makefile.in Sat Mar 1 00:09:57 2003
+++ xfce-devel/xfwm4/themes/gtk/Makefile.in Sun Mar 16 20:33:15 2003
@@ -174,6 +174,8 @@
maximize-active.xpm \
maximize-inactive.xpm \
maximize-pressed.xpm \
+ maximized-active.xpm \
+ maximized-inactive.xpm \
menu-active.xpm \
menu-inactive.xpm \
menu-pressed.xpm \
@@ -182,9 +184,13 @@
shade-active.xpm \
shade-inactive.xpm \
shade-pressed.xpm \
+ shaded-active.xpm \
+ shaded-inactive.xpm \
stick-active.xpm \
stick-inactive.xpm \
stick-pressed.xpm \
+ sticked-active.xpm \
+ sticked-inactive.xpm \
themerc \
title-1-active.xpm \
title-1-inactive.xpm \
diff -Nur xfce-devel.orig/xfwm4/themes/gtk/maximized-active.xpm xfce-devel/xfwm4/themes/gtk/maximized-active.xpm
--- xfce-devel.orig/xfwm4/themes/gtk/maximized-active.xpm Thu Jan 1 01:00:00 1970
+++ xfce-devel/xfwm4/themes/gtk/maximized-active.xpm Sun Mar 16 20:02:23 2003
@@ -0,0 +1,33 @@
+/* XPM */
+static char * maximized_active_xpm[] = {
+"20 25 5 1",
+" c None",
+". c #FFFFFF",
+"+ c #000000",
+"@ c #CCCCC7",
+"# c #919189",
+" ",
+" ",
+" ",
+" ",
+" ",
+"...................+",
+".@@@@@@@@@@@@@@@@@@+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@@+++++++@@@@#+",
+".@@@@@@+++++++@@@@#+",
+".@@@@@@+@@@@@+@@@@#+",
+".@@@@+++++++ at +@@@@#+",
+".@@@@+++++++ at +@@@@#+",
+".@@@@+@@@@@+++@@@@#+",
+".@@@@+@@@@@+@@@@@@#+",
+".@@@@+@@@@@+@@@@@@#+",
+".@@@@+++++++@@@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@#################+",
+"++++++++++++++++++++"};
diff -Nur xfce-devel.orig/xfwm4/themes/gtk/maximized-inactive.xpm xfce-devel/xfwm4/themes/gtk/maximized-inactive.xpm
--- xfce-devel.orig/xfwm4/themes/gtk/maximized-inactive.xpm Thu Jan 1 01:00:00 1970
+++ xfce-devel/xfwm4/themes/gtk/maximized-inactive.xpm Sun Mar 16 20:02:23 2003
@@ -0,0 +1,33 @@
+/* XPM */
+static char * maximized_active_xpm[] = {
+"20 25 5 1",
+" c None",
+". c #FFFFFF",
+"+ c #000000",
+"@ c #CCCCC7",
+"# c #919189",
+" ",
+" ",
+" ",
+" ",
+" ",
+"...................+",
+".@@@@@@@@@@@@@@@@@@+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@@+++++++@@@@#+",
+".@@@@@@+++++++@@@@#+",
+".@@@@@@+@@@@@+@@@@#+",
+".@@@@+++++++ at +@@@@#+",
+".@@@@+++++++ at +@@@@#+",
+".@@@@+@@@@@+++@@@@#+",
+".@@@@+@@@@@+@@@@@@#+",
+".@@@@+@@@@@+@@@@@@#+",
+".@@@@+++++++@@@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@#################+",
+"++++++++++++++++++++"};
diff -Nur xfce-devel.orig/xfwm4/themes/gtk/shaded-active.xpm xfce-devel/xfwm4/themes/gtk/shaded-active.xpm
--- xfce-devel.orig/xfwm4/themes/gtk/shaded-active.xpm Thu Jan 1 01:00:00 1970
+++ xfce-devel/xfwm4/themes/gtk/shaded-active.xpm Sun Mar 16 20:02:11 2003
@@ -0,0 +1,33 @@
+/* XPM */
+static char * shaded_active_xpm[] = {
+"20 25 5 1",
+" c None",
+". c #FFFFFF",
+"+ c #000000",
+"@ c #CCCCC7",
+"# c #919189",
+" ",
+" ",
+" ",
+" ",
+" ",
+"...................+",
+".@@@@@@@@@@@@@@@@@@+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@++++++++@@@@#+",
+".@@@@@++++++++@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@++++++++@@@@#+",
+".@@@@@@++++++@@@@@#+",
+".@@@@@@@++++@@@@@@#+",
+".@@@@@@@@++@@@@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@#################+",
+"++++++++++++++++++++"};
diff -Nur xfce-devel.orig/xfwm4/themes/gtk/shaded-inactive.xpm xfce-devel/xfwm4/themes/gtk/shaded-inactive.xpm
--- xfce-devel.orig/xfwm4/themes/gtk/shaded-inactive.xpm Thu Jan 1 01:00:00 1970
+++ xfce-devel/xfwm4/themes/gtk/shaded-inactive.xpm Sun Mar 16 20:02:11 2003
@@ -0,0 +1,33 @@
+/* XPM */
+static char * shaded_active_xpm[] = {
+"20 25 5 1",
+" c None",
+". c #FFFFFF",
+"+ c #000000",
+"@ c #CCCCC7",
+"# c #919189",
+" ",
+" ",
+" ",
+" ",
+" ",
+"...................+",
+".@@@@@@@@@@@@@@@@@@+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@++++++++@@@@#+",
+".@@@@@++++++++@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@++++++++@@@@#+",
+".@@@@@@++++++@@@@@#+",
+".@@@@@@@++++@@@@@@#+",
+".@@@@@@@@++@@@@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@#################+",
+"++++++++++++++++++++"};
diff -Nur xfce-devel.orig/xfwm4/themes/gtk/sticked-active.xpm xfce-devel/xfwm4/themes/gtk/sticked-active.xpm
--- xfce-devel.orig/xfwm4/themes/gtk/sticked-active.xpm Thu Jan 1 01:00:00 1970
+++ xfce-devel/xfwm4/themes/gtk/sticked-active.xpm Sun Mar 16 20:02:43 2003
@@ -0,0 +1,33 @@
+/* XPM */
+static char * sticked_active_xpm[] = {
+"20 25 5 1",
+" c None",
+". c #FFFFFF",
+"+ c #000000",
+"@ c #CCCCC7",
+"# c #919189",
+" ",
+" ",
+" ",
+" ",
+" ",
+"...................+",
+".@@@@@@@@@@@@@@@@@@+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@@@++++@@@@@@#+",
+".@@@@@@+@@@@+@@@@@#+",
+".@@@@@+@@++@@+@@@@#+",
+".@@@@@+ at ++++@+@@@@#+",
+".@@@@@+ at ++++@+@@@@#+",
+".@@@@@+@@++@@+@@@@#+",
+".@@@@@@+@@@@+@@@@@#+",
+".@@@@@@@++++@@@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@#################+",
+"++++++++++++++++++++"};
diff -Nur xfce-devel.orig/xfwm4/themes/gtk/sticked-inactive.xpm xfce-devel/xfwm4/themes/gtk/sticked-inactive.xpm
--- xfce-devel.orig/xfwm4/themes/gtk/sticked-inactive.xpm Thu Jan 1 01:00:00 1970
+++ xfce-devel/xfwm4/themes/gtk/sticked-inactive.xpm Sun Mar 16 20:02:43 2003
@@ -0,0 +1,33 @@
+/* XPM */
+static char * sticked_inactive_xpm[] = {
+"20 25 5 1",
+" c None",
+". c #FFFFFF",
+"+ c #000000",
+"@ c #CCCCC7",
+"# c #919189",
+" ",
+" ",
+" ",
+" ",
+" ",
+"...................+",
+".@@@@@@@@@@@@@@@@@@+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@@@++++@@@@@@#+",
+".@@@@@@+@@@@+@@@@@#+",
+".@@@@@+@@++@@+@@@@#+",
+".@@@@@+ at ++++@+@@@@#+",
+".@@@@@+ at ++++@+@@@@#+",
+".@@@@@+@@++@@+@@@@#+",
+".@@@@@@+@@@@+@@@@@#+",
+".@@@@@@@++++@@@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@@@@@@@@@@@@@@@@@#+",
+".@#################+",
+"++++++++++++++++++++"};
More information about the Xfce4-dev
mailing list