awful.menu: Place submenus on the correct height
commite38c52349a837cc10f1124c50cc18984ed52880f
authorUli Schlachter <psychon@znc.in>
Thu, 15 Dec 2011 20:26:35 +0000 (15 21:26 +0100)
committerUli Schlachter <psychon@znc.in>
Thu, 15 Dec 2011 20:28:58 +0000 (15 21:28 +0100)
treee493764f1ca319566479dd7e958a85393b01f951
parent8c62698bf651ed0732a9f55dc5890f88da5635b3
awful.menu: Place submenus on the correct height

Before this commit, a submenu was border_width pixels lower than its parent menu
entry. Fix this by not adding the border_width to the submenu's position.

We still have to add the border_width to the parent menu's width so that the
border of the submenu entry doesn't overlap the content of its parent menu (the
borders of the two menus do overlap!).

Signed-off-by: Uli Schlachter <psychon@znc.in>
lib/awful/menu.lua.in