diff options
author | markt <markt> | 2007-01-15 19:00:09 (GMT) |
---|---|---|
committer | markt <markt> | 2007-01-15 19:00:09 (GMT) |
commit | a2804705db7259109232c23e9cd1ef86093237b1 (patch) | |
tree | 0d2c800aa93f0f2b6aa9c85211a78c62d78e3a7d /src/Window.hh | |
parent | 2a9e8e27826f57068c32c159c9b5a16824dd04b1 (diff) | |
download | fluxbox-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/Window.hh')
0 files changed, 0 insertions, 0 deletions