aboutsummaryrefslogtreecommitdiff
path: root/src/BorderTheme.cc
diff options
context:
space:
mode:
authormarkt <markt>2007-01-15 19:00:09 (GMT)
committermarkt <markt>2007-01-15 19:00:09 (GMT)
commita2804705db7259109232c23e9cd1ef86093237b1 (patch)
tree0d2c800aa93f0f2b6aa9c85211a78c62d78e3a7d /src/BorderTheme.cc
parent2a9e8e27826f57068c32c159c9b5a16824dd04b1 (diff)
downloadfluxbox-a2804705db7259109232c23e9cd1ef86093237b1.zip
fluxbox-a2804705db7259109232c23e9cd1ef86093237b1.tar.bz2
prevent per-window alpha menu from scrolling past 0 or 255:
suppose your alpha was at 3 and then you double-clicked -- IntResMenuItem was setting the alpha to -2, which in FbWinFrame::setAlpha got cast to an unsigned char, or 254; then, IntResMenuItem would check if the value was less than 0, which, of course, it wasn't now, IntResMenuItem checks if the value will exceed the max/min before setting
Diffstat (limited to 'src/BorderTheme.cc')
0 files changed, 0 insertions, 0 deletions