diff options
author | simonb <simonb> | 2005-04-26 01:41:55 (GMT) |
---|---|---|
committer | simonb <simonb> | 2005-04-26 01:41:55 (GMT) |
commit | 1c2f92a3d2288b1cae9500110a72173506a18072 (patch) | |
tree | cdb695da16dcee74872790c772bb535def9f2895 /src/ToggleMenu.hh | |
parent | b49432be05c6cf748e662e196778463e2190b4c3 (diff) | |
download | fluxbox_pavel-1c2f92a3d2288b1cae9500110a72173506a18072.zip fluxbox_pavel-1c2f92a3d2288b1cae9500110a72173506a18072.tar.bz2 |
extension of previous big patch. Move a bunch of menu things onto
background pixmap. Same for textbuttons.
Diffstat (limited to 'src/ToggleMenu.hh')
-rw-r--r-- | src/ToggleMenu.hh | 11 |
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 | } |