all repos — fluxbox @ 370a9d474475d708f03795665d915f314f1665fa

custom fork of the fluxbox windowmanager

fix little bug that highlighted items that went disabled after selected
rathnor rathnor
commit

370a9d474475d708f03795665d915f314f1665fa

parent

037bd174bfb107fef4657c949ce49c188090f3e7

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

jump to
M src/FbTk/Menu.ccsrc/FbTk/Menu.cc

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Menu.cc,v 1.31 2003/07/20 10:41:56 rathnor Exp $ +// $Id: Menu.cc,v 1.32 2003/07/21 02:45:27 rathnor Exp $ //use GNU extensions #ifndef _GNU_SOURCE

@@ -542,7 +542,7 @@ if (i == (unsigned int)which_sub) {

drawItem(i, true, true, false); drawSubmenu(i); } else - drawItem(i, (i == active_index), true, false); + drawItem(i, (i == active_index && isItemEnabled(i)), true, false); } if (m_parent && visible)