diff options
Diffstat (limited to 'src/ToggleMenu.hh')
-rw-r--r-- | src/ToggleMenu.hh | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/ToggleMenu.hh b/src/ToggleMenu.hh index 1b489d6..b2d9e54 100644 --- a/src/ToggleMenu.hh +++ b/src/ToggleMenu.hh | |||
@@ -48,15 +48,12 @@ public: | |||
48 | // so that the last toggled item gets redrawn as | 48 | // so that the last toggled item gets redrawn as |
49 | // not toggled. | 49 | // not toggled. |
50 | if (ev.window == frameWindow()) { | 50 | if (ev.window == frameWindow()) { |
51 | renderTransp(0, 0, width(), frameWindow().height()); | 51 | frameWindow().clear(); |
52 | |||
53 | for (size_t i = 0; i < numberOfItems(); ++i) { | 52 | for (size_t i = 0; i < numberOfItems(); ++i) { |
54 | drawItem(i, // index | 53 | drawItem(i, // index |
55 | true, // clear | 54 | false); // clear |
56 | false); // render transparent | ||
57 | 55 | ||
58 | } | 56 | } |
59 | frameWindow().clear(); | ||
60 | } | 57 | } |
61 | 58 | ||
62 | } | 59 | } |