aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/Menu.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-07-05 09:40:08 (GMT)
committerfluxgen <fluxgen>2004-07-05 09:40:08 (GMT)
commitdf570bc9452b24e963c38591cfcb185eb70a8a38 (patch)
tree6c1fc747126955503fb569afd00c740648ba22fe /src/FbTk/Menu.cc
parenta1e5cfa6f5153c358bbfef61484237d2141f77d8 (diff)
downloadfluxbox_pavel-df570bc9452b24e963c38591cfcb185eb70a8a38.zip
fluxbox_pavel-df570bc9452b24e963c38591cfcb185eb70a8a38.tar.bz2
fixed menutitle and menulables drawn to close to screen-bottom, patch from Mathias Gumz
Diffstat (limited to 'src/FbTk/Menu.cc')
-rw-r--r--src/FbTk/Menu.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/Menu.cc b/src/FbTk/Menu.cc
index ac8d651..9109913 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.69 2004/06/27 13:50:24 fluxgen Exp $ 25// $Id: Menu.cc,v 1.70 2004/07/05 09:40:08 fluxgen Exp $
26 26
27//use GNU extensions 27//use GNU extensions
28#ifndef _GNU_SOURCE 28#ifndef _GNU_SOURCE
@@ -768,7 +768,7 @@ void Menu::redrawTitle() {
768 screenNumber(), 768 screenNumber(),
769 theme().titleTextGC().gc(), // graphic context 769 theme().titleTextGC().gc(), // graphic context
770 text, len, // text string with lenght 770 text, len, // text string with lenght
771 dx, theme().titleHeight()/2 + (font.ascent() + theme().bevelWidth())/2); // position 771 dx, theme().titleHeight()/2 + (font.ascent() - theme().bevelWidth())/2); // position
772} 772}
773 773
774 774