diff options
author | Bo Simonsen <bo@geekworld.dk> | 2020-04-14 18:42:38 (GMT) |
---|---|---|
committer | Mathias Gumz <akira@fluxbox.org> | 2020-04-19 12:55:44 (GMT) |
commit | 419170668a365625ed61d5c6aa83541c0778446f (patch) | |
tree | 824ee2eece00faf769755a5cc094ac0dc16bf845 /src/FbMenu.hh | |
parent | f48237e3ade27dbf69c1e87b80224445d50b1763 (diff) | |
download | fluxbox-419170668a365625ed61d5c6aa83541c0778446f.zip fluxbox-419170668a365625ed61d5c6aa83541c0778446f.tar.bz2 |
Handle sizehint base_width / base_height being less than 0
Some applications supply -1 in base_width / base_height. One example is
the Preferences dialog of pcmanfm-qt:
WM_NORMAL_HINTS(WM_SIZE_HINTS):
...
program specified base size: -1 by -1
Without this commit the program will crash due to overflow of unsigned int.
Diffstat (limited to 'src/FbMenu.hh')
0 files changed, 0 insertions, 0 deletions