aboutsummaryrefslogtreecommitdiff
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
parentef9565efd8431eed3f561154c58765d5a77be90a (diff)
downloadfluxbox_paul-e41bc330b402508541ec812dfe797cceae255f7f.zip
fluxbox_paul-e41bc330b402508541ec812dfe797cceae255f7f.tar.bz2
fix bug with >1 column menus
-rw-r--r--ChangeLog2
-rw-r--r--src/FbTk/Menu.cc4
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index fa6d44a..81b70ce 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
1(Format: Year/Month/Day) 1(Format: Year/Month/Day)
2Changes for 0.9.10: 2Changes for 0.9.10:
3*04/08/29: 3*04/08/29:
4 * Fix rendering bug when revisiting >1 column menus (Simon)
5 FbTk/Menu.cc
4 * Fix crash when extramenus not attached to windowmenu (Simon) 6 * Fix crash when extramenus not attached to windowmenu (Simon)
5 - and add checking that windowmenu file exists and sorta parses 7 - and add checking that windowmenu file exists and sorta parses
6 Window.cc FbTk/Menu.hh MenuCreator.hh/cc 8 Window.cc FbTk/Menu.hh MenuCreator.hh/cc
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