Re: X11/Spaces thinks X11 windows are overlapping on different Spaces
Re: X11/Spaces thinks X11 windows are overlapping on different Spaces
- Subject: Re: X11/Spaces thinks X11 windows are overlapping on different Spaces
- From: Jeremy Huddleston <email@hidden>
- Date: Wed, 7 Nov 2007 14:17:06 -0800
On Nov 7, 2007, at 1:38 PM, Greg Parker wrote:
This is a good catch. The symptom sounds like the X11 window server
and the Quartz window server disagree about the window layout. In
this case, the X11 server thinks both windows are visible and
overlapping in the same place, while the Quartz window server thinks
the window in the "other space" is hidden or positioned offscreen or
something.
When you click on the "overlap" area, the Quartz window server
routes the click to one of the windows, which belongs to the X11
server. But when the X11 server receives the click, it ignores the
window choice made by the Quartz server and instead re-routes the
click from scratch based on its own idea of where the windows are.
If the X11 server's model is mistaken, it'll send the click to the
wrong window.
This hypothesis predicts that a comparison of position, stacking,
and visibility of X11's top-level windows won't match the view on
screen or Quartz Debug's window list. An exercise for some developer
playing at home: write an X11 program that periodically uses
XQueryTree() to get the list of the root window's children and
prints their states and positions. (Or find some existing X11
program to do it.) Run that and Quartz Debug, then fire up some
xterms and Spaces and see what you can find.
This sounds rather likely to be the culprit as the expose-focus bug I
mentioned earlier could be a symptom of this same problem. I'm
putting my stock into this being the problem and will try looking into
it this weekend if nobody squashes it first (which given the quick
progress this past week, I wouldn't be surprised about). I just
realized I have a deadline in 2 hours and I'm wasting too much time on
this right now, so here's the little X program I started to do this...
someone else should just need to fill in the "Do Something Useful" part:
--Jeremy
Attachment:
Makefile
Description: Binary data
Attachment:
xwinlist.c
Description: Binary data
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden