aboutsummaryrefslogtreecommitdiff
path: root/src/ToggleMenu.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/ToggleMenu.hh')
-rw-r--r--src/ToggleMenu.hh11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/ToggleMenu.hh b/src/ToggleMenu.hh
index b2d9e54..f506df8 100644
--- a/src/ToggleMenu.hh
+++ b/src/ToggleMenu.hh
@@ -48,12 +48,11 @@ 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 frameWindow().clear(); 51 // force full foreground update (by setting bg to same thing)
52 for (size_t i = 0; i < numberOfItems(); ++i) { 52 frameWindow().parentMoved();
53 drawItem(i, // index 53// for (size_t i = 0; i < numberOfItems(); ++i) {
54 false); // clear 54// clearItem(i);
55 55// }
56 }
57 } 56 }
58 57
59 } 58 }