diff options
author | simonb <simonb> | 2006-08-14 13:45:05 (GMT) |
---|---|---|
committer | simonb <simonb> | 2006-08-14 13:45:05 (GMT) |
commit | b1b8bd12aefadf6d9c30bd90e61ee3144218ae0a (patch) | |
tree | 7194686afcec003ed2fb27d20a30dd583985cd73 /src/FbTk | |
parent | 5b5024388189288aeb033312207fc5f6b28668d1 (diff) | |
download | fluxbox-b1b8bd12aefadf6d9c30bd90e61ee3144218ae0a.zip fluxbox-b1b8bd12aefadf6d9c30bd90e61ee3144218ae0a.tar.bz2 |
fix minor menu separator highlight issue
Diffstat (limited to 'src/FbTk')
-rw-r--r-- | src/FbTk/Menu.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |