Fix menu positioning bug
commitd3162603952a8a00cdafe390791e4e99d2118dc1
authorSamir SAADA <zepard@gmail.com>
Fri, 29 May 2009 18:39:41 +0000 (29 20:39 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Sat, 8 Aug 2009 22:32:32 +0000 (9 00:32 +0200)
tree96f433738d7658654cc17d9052d214b1a08e797e
parent6b08fc9e781fc43859b9a64b7e39c1084fcc566c
Fix menu positioning bug

Here I tried to prevent the menu of windows to be displayed in the
other side of the screen if the window is half present in the screen
horizontally (ie x < 0)

a worse problem with menu is that it disappears when
the window is half present in the window vertically
ie y < 0, that makes it not usable.
src/menu.c