aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsimonb <simonb>2006-08-14 13:45:05 (GMT)
committersimonb <simonb>2006-08-14 13:45:05 (GMT)
commitb1b8bd12aefadf6d9c30bd90e61ee3144218ae0a (patch)
tree7194686afcec003ed2fb27d20a30dd583985cd73
parent5b5024388189288aeb033312207fc5f6b28668d1 (diff)
downloadfluxbox-b1b8bd12aefadf6d9c30bd90e61ee3144218ae0a.zip
fluxbox-b1b8bd12aefadf6d9c30bd90e61ee3144218ae0a.tar.bz2
fix minor menu separator highlight issue
-rw-r--r--ChangeLog3
-rw-r--r--src/FbTk/Menu.cc2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index df2f449..1cc4d6b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
1 (Format: Year/Month/Day) 1 (Format: Year/Month/Day)
2Changes for 1.0rc3: 2Changes for 1.0rc3:
3*06/08/14:
4 * Fix minor menu separator highlight issue (Simon)
5 FbTk/Menu.cc
3*06/08/12: 6*06/08/12:
4 * Fix placement of restored fullscreen windows (Mark) 7 * Fix placement of restored fullscreen windows (Mark)
5 Window.cc 8 Window.cc
diff --git a/src/FbTk/Menu.cc b/src/FbTk/Menu.cc
index ee678c1..480569f 100644
--- a/src/FbTk/Menu.cc
+++ b/src/FbTk/Menu.cc
@@ -1195,7 +1195,7 @@ void Menu::clearItem(int index, bool clear) {
1195 int sbl = index / menu.persub, i = index - (sbl * menu.persub); 1195 int sbl = index / menu.persub, i = index - (sbl * menu.persub);
1196 unsigned int item_w = menu.item_w, item_h = theme().itemHeight(); 1196 unsigned int item_w = menu.item_w, item_h = theme().itemHeight();
1197 int item_x = (sbl * item_w), item_y = (i * item_h); 1197 int item_x = (sbl * item_w), item_y = (i * item_h);
1198 bool highlight = (index == m_active_index); 1198 bool highlight = (index == m_active_index && isItemSelectable(index));
1199 1199
1200 // don't highlight if moving, doesn't work with alpha on 1200 // don't highlight if moving, doesn't work with alpha on
1201 if (highlight && !m_moving) { 1201 if (highlight && !m_moving) {