emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: x-popup-menu


From: Stefan Monnier
Subject: Re: x-popup-menu
Date: Mon, 16 Nov 2009 22:33:45 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

> --- menu.c    2009-11-13 13:12:46.000000000 -0800
> +++ menu.c-y  2009-11-11 01:34:10.000000000 -0800
> @@ -1182,13 +1182,8 @@
>       CHECK_LIVE_WINDOW (window);
>       f = XFRAME (WINDOW_FRAME (win));

> -#ifdef HAVE_NS                    /* FIXME: Is this necessary??  --Stef  */
> -        xpos = FRAME_COLUMN_WIDTH (f) * WINDOW_LEFT_EDGE_COL (win);
> -     ypos = FRAME_LINE_HEIGHT (f) * WINDOW_TOP_EDGE_LINE (win);
> -#else
>       xpos = WINDOW_LEFT_EDGE_X (win);
>       ypos = WINDOW_TOP_EDGE_Y (win);
> -#endif
>        }
>      else
>        /* ??? Not really clean; should be CHECK_WINDOW_OR_FRAME,


Thanks,


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]