change fallbacks
authorDana Jansens <danakj@orodu.net>
Fri, 11 May 2007 03:48:50 +0000 (03:48 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 11 May 2007 03:48:50 +0000 (03:48 +0000)
render/theme.c

index 6bde38450ee37d677dc2b08808de8241f00f7056..27776123593cf86d545c156f3c0b65ea4229b7dd 100644 (file)
@@ -482,13 +482,13 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name,
         RrPixmapMaskCopy(theme->desk_toggled_mask);
     theme->shade_toggled_hover_mask =
         RrPixmapMaskCopy(theme->shade_toggled_mask);
-    /* the toggled pressed mask = the pressed mask (the toggled fallback..) */
+    /* the toggled pressed mask = the toggled unpressed mask (i.e. no change)*/
     theme->max_toggled_pressed_mask =
-        RrPixmapMaskCopy(theme->max_pressed_mask);
+        RrPixmapMaskCopy(theme->max_toggled_mask);
     theme->desk_toggled_pressed_mask =
-        RrPixmapMaskCopy(theme->desk_pressed_mask);
+        RrPixmapMaskCopy(theme->desk_toggled_mask);
     theme->shade_toggled_pressed_mask =
-        RrPixmapMaskCopy(theme->shade_pressed_mask);
+        RrPixmapMaskCopy(theme->shade_toggled_mask);
 
     /* read the decoration textures */
     if (!read_appearance(db, inst,