diff options
author | Vladimir A. Pavlov <pv4@bk.ru> | 2012-12-15 16:41:34 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2012-12-30 11:27:55 (GMT) |
commit | 5efef22cba2af157d7f06507dfa5cca3ca62c674 (patch) | |
tree | 0b6eef5c81c79db599a88e7d3ce1cdb745be273f | |
parent | edcb6d57ce4823616963071cfe4f151eb3880dc1 (diff) | |
download | fluxbox-5efef22cba2af157d7f06507dfa5cca3ca62c674.zip fluxbox-5efef22cba2af157d7f06507dfa5cca3ca62c674.tar.bz2 |
Fix double text rendering if using parentRelative
-rw-r--r-- | src/FbTk/TextButton.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/FbTk/TextButton.cc b/src/FbTk/TextButton.cc index 33a2b44..611580c 100644 --- a/src/FbTk/TextButton.cc +++ b/src/FbTk/TextButton.cc | |||
@@ -122,8 +122,6 @@ void TextButton::clearArea(int x, int y, | |||
122 | unsigned int width, unsigned int height, | 122 | unsigned int width, unsigned int height, |
123 | bool exposure) { | 123 | bool exposure) { |
124 | Button::clearArea(x, y, width, height, exposure); | 124 | Button::clearArea(x, y, width, height, exposure); |
125 | if (backgroundPixmap() == ParentRelative) | ||
126 | drawText(0, 0, this); | ||
127 | } | 125 | } |
128 | 126 | ||
129 | 127 | ||