emacs-devel
[Top][All Lists]
Advanced

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

Re: x-popup-menu pops up at funny positions


From: Jan D.
Subject: Re: x-popup-menu pops up at funny positions
Date: Thu, 9 Jan 2003 22:02:28 +0100 (CET)

>     Even the old code relied on these positions to always be correct, 
> 
> Where did it require that?  I thought it was supposed to call
> x_real_positions to get the correct position when necessary.
> But I see thats not how it worked.

The old code did this:
  /* Adjust coordinates to be root-window-relative.  */
  x += f->output_data.x->left_pos;
  y += f->output_data.x->top_pos;

> 
> I guess the code is ok as you've written it.  Please install it.

Done.

        Jan D.





reply via email to

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