all repos — fluxbox @ 52f614b59853e425f34790f1795d66f93781f95b

custom fork of the fluxbox windowmanager

bugfix: 'reset' nr_shapes to '0' after last instance of 'Shape'
Mathias Gumz akira at fluxbox dot org
commit

52f614b59853e425f34790f1795d66f93781f95b

parent

2b62cf973318978bc222db7719552148275887db

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

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

@@ -151,7 +151,9 @@ void cleanCorners() {

if (nr_shapes == 1) { s_corners.clear(); - } else { + } + + if (nr_shapes > 0) { nr_shapes--; // refcounting } }