iconified = flat, normal = raised, focused = sunken. this is what all panels do i...
authorMikael Magnusson <mikachu@comhem.se>
Fri, 8 Jun 2007 23:26:29 +0000 (23:26 +0000)
committerMikael Magnusson <mikachu@comhem.se>
Fri, 8 Jun 2007 23:26:29 +0000 (23:26 +0000)
gui.c

diff --git a/gui.c b/gui.c
index 6be4c94..2e529db 100644 (file)
--- a/gui.c
+++ b/gui.c
@@ -71,14 +71,12 @@ void gui_init(screen *sc)
     USE(unfocused_task);
     SURF(parent) = background;
     SURF(grad) = RR_SURFACE_PARENTREL;
-    SURF(border) = TRUE;
-    SURF(border_color) = RrColorNew(sc->rr, 0, 0, 80);
+    SURF(relief) = RR_RELIEF_RAISED;
 
     /* ... for iconified tasks, also used for shaded ones currently */
     iconified_task = RrAppearanceCopy(unfocused_task);
     USE(iconified_task);
-    SURF(relief) = RR_RELIEF_SUNKEN;
-    SURF(border) = FALSE;
+    SURF(relief) = RR_RELIEF_FLAT;
     SURF(parent) = background; /* RrAppearanceCopy doesn't copy .parent */
 
     /* ... for focused tasks */
@@ -87,7 +85,7 @@ void gui_init(screen *sc)
     SURF(grad) = RR_SURFACE_CROSS_DIAGONAL;
     SURF(secondary) = RrColorNew(sc->rr, 70, 80, 110);
     SURF(primary) = RrColorNew(sc->rr, 130, 160, 250);
-    SURF(relief) = RR_RELIEF_RAISED;
+    SURF(relief) = RR_RELIEF_SUNKEN;
 
     /* this is the text used for all normal unfocused tasks */
     /* we don't set .parent here, but in draw_task, since we