diff options
author | Mathias Gumz <akira@fluxbox.org> | 2022-05-28 09:13:43 (GMT) |
---|---|---|
committer | Mathias Gumz <mgumz@users.noreply.github.com> | 2022-07-31 14:49:49 (GMT) |
commit | 9d8202f32338a3f08d3fa39057dc5eec5d97be4e (patch) | |
tree | 85238fab1759c2b826affe6826ab00e81dd5a6ba /nls/tr_TR/generated-UTF-8.m | |
parent | e2cbd179ecb2ef2d76e0ad1fde84b44325305799 (diff) | |
download | fluxbox-9d8202f32338a3f08d3fa39057dc5eec5d97be4e.zip fluxbox-9d8202f32338a3f08d3fa39057dc5eec5d97be4e.tar.bz2 |
Fix infinite loop in Menu::cycleitems()
When a menu contains no selectable item (example given: a "list" of user
styles and the only available one is already selected), cycling through
the menu will lead to an infinite loop and thus a disfunctional fluxbox.
This commit addresses the issue by checking if there is any selectable
item before entering the cycling stage.
Discovered by Sébastien Ballet[1].
[1]: https://sourceforge.net/p/fluxbox/bugs/1185/
Diffstat (limited to 'nls/tr_TR/generated-UTF-8.m')
0 files changed, 0 insertions, 0 deletions