From: Dana Jansens Date: Mon, 31 Mar 2003 19:39:44 +0000 (+0000) Subject: use 'toggled' in the new button masks' resource names instead of 'pressed' to be... X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=2881ed1ed3c79a6357fb68b92f2a44ad9c2c861d;p=chaz%2Fopenbox use 'toggled' in the new button masks' resource names instead of 'pressed' to be more accurate to their use --- diff --git a/engines/openbox/obtheme.c b/engines/openbox/obtheme.c index f0dbb676..c4ec31fb 100644 --- a/engines/openbox/obtheme.c +++ b/engines/openbox/obtheme.c @@ -356,7 +356,7 @@ gboolean obtheme_load() ob_s_titlebut_unfocused_color = color_new(0xff, 0xff, 0xff); if (read_mask(db, "window.button.max.mask", &ob_s_max_unset_mask)) { - if (!read_mask(db, "window.button.max.pressed.mask", + if (!read_mask(db, "window.button.max.toggled.mask", &ob_s_max_set_mask)) { ob_s_max_set_mask = pixmap_mask_copy(ob_s_max_unset_mask); } @@ -379,7 +379,7 @@ gboolean obtheme_load() if (read_mask(db, "window.button.stick.mask", &ob_s_desk_unset_mask)) { - if (!read_mask(db, "window.button.stick.pressed.mask", + if (!read_mask(db, "window.button.stick.toggled.mask", &ob_s_desk_set_mask)) { ob_s_desk_set_mask = pixmap_mask_copy(ob_s_desk_unset_mask);