summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrathnor <rathnor>2004-08-29 14:37:52 (GMT)
committerrathnor <rathnor>2004-08-29 14:37:52 (GMT)
commite41bc330b402508541ec812dfe797cceae255f7f (patch)
treefef97b928f7c2528dad6056d0048f61d15e4eb9e /src
parentef9565efd8431eed3f561154c58765d5a77be90a (diff)
downloadfluxbox_lack-e41bc330b402508541ec812dfe797cceae255f7f.zip
fluxbox_lack-e41bc330b402508541ec812dfe797cceae255f7f.tar.bz2
fix bug with >1 column menus
Diffstat (limited to 'src')
-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 5fe8e36..b4ae45a 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.75 2004/08/29 08:33:13 rathnor Exp $ 25// $Id: Menu.cc,v 1.76 2004/08/29 14:37:52 rathnor Exp $
26 26
27//use GNU extensions 27//use GNU extensions
28#ifndef _GNU_SOURCE 28#ifndef _GNU_SOURCE
@@ -947,7 +947,7 @@ int Menu::drawItem(unsigned int index, bool clear, bool render_trans,
947 947
948 if (render_trans) { 948 if (render_trans) {
949 renderTransp(item_x, item_y, 949 renderTransp(item_x, item_y,
950 width(), theme().itemHeight()); 950 menu.item_w, theme().itemHeight());
951 } 951 }
952 //!! 952 //!!
953 //!! TODO: Move this out to MenuItem 953 //!! TODO: Move this out to MenuItem