diff options
-rw-r--r-- | src/FbTk/Menu.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/FbTk/Menu.cc b/src/FbTk/Menu.cc index 6f1c84e..7ad09ed 100644 --- a/src/FbTk/Menu.cc +++ b/src/FbTk/Menu.cc | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: Menu.cc,v 1.63 2004/06/13 00:31:29 fluxgen Exp $ | 25 | // $Id: Menu.cc,v 1.64 2004/06/13 00:42:45 fluxgen Exp $ |
26 | 26 | ||
27 | //use GNU extensions | 27 | //use GNU extensions |
28 | #ifndef _GNU_SOURCE | 28 | #ifndef _GNU_SOURCE |
@@ -1216,8 +1216,7 @@ void Menu::motionNotifyEvent(XMotionEvent &me) { | |||
1216 | 1216 | ||
1217 | void Menu::exposeEvent(XExposeEvent &ee) { | 1217 | void Menu::exposeEvent(XExposeEvent &ee) { |
1218 | if (ee.window == menu.title) { | 1218 | if (ee.window == menu.title) { |
1219 | if (alpha() < 255) | 1219 | redrawTitle(); |
1220 | redrawTitle(); | ||
1221 | menu.title.clearArea(ee.x, ee.y, ee.width, ee.height); | 1220 | menu.title.clearArea(ee.x, ee.y, ee.width, ee.height); |
1222 | } else if (ee.window == menu.frame) { | 1221 | } else if (ee.window == menu.frame) { |
1223 | 1222 | ||