This is just to ping John about it :-)

Any thoughts about this patch? I think it fixes
one annoying (but minor) issue, and I've been testing
it all this time with no problems.

It is not new development or something, so I think
it classifies for a _stable_ release.

On Sun 24.May'09 at  0:20:35 +0200, Samir SAADA wrote:
> 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.
> 
> Samir.

> diff -r 5a2507602c48 src/menu.c
> --- a/src/menu.c      Sun Dec 14 19:59:05 2008 -0800
> +++ b/src/menu.c      Sun May 24 00:07:51 2009 +0200
> @@ -1165,8 +1165,8 @@
>          }
>  
>          XMoveWindow(dpy, menu->frame->core->window, x, y);
> -        menu->frame_x = x;
> -        menu->frame_y = y;
> +        menu->frame_x = (x<0) ? 0 : x;
> +        menu->frame_y = (y<0) ? 0 : y;
>          XMapWindow(dpy, menu->frame->core->window);
>          wRaiseFrame(menu->frame->core);
>          menu->flags.mapped = 1;


-- 
To unsubscribe, send mail to [email protected].

Reply via email to