From 2881ed1ed3c79a6357fb68b92f2a44ad9c2c861d Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 31 Mar 2003 19:39:44 +0000 Subject: [PATCH] use 'toggled' in the new button masks' resource names instead of 'pressed' to be more accurate to their use --- engines/openbox/obtheme.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.45.2