[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: x-popup-menu pops up at funny positions
From: |
Richard Stallman |
Subject: |
Re: x-popup-menu pops up at funny positions |
Date: |
Sun, 05 Jan 2003 13:33:25 -0500 |
Because it did not in fact read the current position. It read
the position of the inner window in coordinates that are valid
for the parent window. Now, if the parent window is the root
window, then it reads the current position. But in all other
cases it does not.
Instead of just deleting that code, can you replace it with code
that does the right job?
One could replace parent_desc with the root window, but it
seemd pointless to do a query to the X server when Emacs
has all the information already and a simple addition finds
the current position.
I am not sure it is always up to date. Could you check?
Replacing mouse_position_hook with a simple XQueryPointer
cures this.
Could you send the diff to do that?
(Or just install it?)
- x-popup-menu pops up at funny positions, Jan D., 2003/01/03
- Re: x-popup-menu pops up at funny positions, Jan D., 2003/01/03
- Re: x-popup-menu pops up at funny positions, Richard Stallman, 2003/01/03
- Re: x-popup-menu pops up at funny positions, Jan D., 2003/01/04
- Re: x-popup-menu pops up at funny positions,
Richard Stallman <=
- Re: x-popup-menu pops up at funny positions, Jan D., 2003/01/05
- Re: x-popup-menu pops up at funny positions, Jan D., 2003/01/05
- Re: x-popup-menu pops up at funny positions, Richard Stallman, 2003/01/07
- Re: x-popup-menu pops up at funny positions, Jan D., 2003/01/07
- Re: x-popup-menu pops up at funny positions, Richard Stallman, 2003/01/07
- Re: x-popup-menu pops up at funny positions, Jan D., 2003/01/07
- Re: x-popup-menu pops up at funny positions, Richard Stallman, 2003/01/08
- Re: x-popup-menu pops up at funny positions, Jan D., 2003/01/08