diff options
author | simonb <simonb> | 2005-04-10 18:18:14 (GMT) |
---|---|---|
committer | simonb <simonb> | 2005-04-10 18:18:14 (GMT) |
commit | 88c66f0687d2a9e2018f22407b2587dc4d87d012 (patch) | |
tree | 197308ad2426783058f479d12329548c6a8a4374 /src/ToggleMenu.hh | |
parent | 6cf66c66554a20a1c98eddf26af9e35b7c90cbd5 (diff) | |
download | fluxbox_pavel-88c66f0687d2a9e2018f22407b2587dc4d87d012.zip fluxbox_pavel-88c66f0687d2a9e2018f22407b2587dc4d87d012.tar.bz2 |
Big changes to how transparency works
Consequently rearrange lots of rendering ops, and strip calls to
updateTransparent
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 | } |