all repos — fluxbox @ b1b8bd12aefadf6d9c30bd90e61ee3144218ae0a

custom fork of the fluxbox windowmanager

fix minor menu separator highlight issue
simonb simonb
commit

b1b8bd12aefadf6d9c30bd90e61ee3144218ae0a

parent

5b5024388189288aeb033312207fc5f6b28668d1

2 files changed, 4 insertions(+), 1 deletions(-)

jump to
M ChangeLogChangeLog

@@ -1,5 +1,8 @@

(Format: Year/Month/Day) Changes for 1.0rc3: +*06/08/14: + * Fix minor menu separator highlight issue (Simon) + FbTk/Menu.cc *06/08/12: * Fix placement of restored fullscreen windows (Mark) Window.cc
M src/FbTk/Menu.ccsrc/FbTk/Menu.cc

@@ -1195,7 +1195,7 @@

int sbl = index / menu.persub, i = index - (sbl * menu.persub); unsigned int item_w = menu.item_w, item_h = theme().itemHeight(); int item_x = (sbl * item_w), item_y = (i * item_h); - bool highlight = (index == m_active_index); + bool highlight = (index == m_active_index && isItemSelectable(index)); // don't highlight if moving, doesn't work with alpha on if (highlight && !m_moving) {