fixed a little bug with placing new menus

This commit is contained in:
markt 2007-03-16 22:09:28 +00:00
parent 74216903cc
commit 84e9f97085

View file

@ -92,6 +92,7 @@ void showMenu(const BScreen &screen, FbTk::Menu &menu) {
int borderw = menu.fbwindow().borderWidth();
int head = screen.getHead(rx, ry);
menu.updateMenu();
pair<int, int> m =
screen.clampToHead(head,
rx - menu.width() / 2,