Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: X11 source code: structure, building



On Nov 6, 2007, at 8:53 AM, Nathaniel Gray wrote:

On Nov 6, 2007 3:44 AM, Ben Byer <email@hidden> wrote:

If anyone is still reading at this point, I'd be happy to answer any questions.

I'll bite. The more serious problems with the current X server have to do with window management. Windows don't get raised, we have problems with spaces, etc. Why isn't the OS X window manager taking care of these things for us? Why are we responsible for so much of our own window management?

I am trying to resolve these issues, but to answer the more general question -- it's because Xquartz looks like a single application with many subwindows rather than many separate applications, so we have "fake" a lot to get it to work correctly.


For example, it looks like the bug where you can't move X11 windows to a new Space by dragging them to the edge of the screen is a bug in Spaces. The same behavior is seen with Stickies, or anything that doesn't have a real titlebar for each window. (Ours are drawn on by Xplugin.)


Just a loose thought (and I hope I'm reading this right!). That X and other applications are having to "fake it", suggests to me the windows API needs something more. Are you able to ask the windows management people for a (private) API / option that allows an application to request that each window behave as an application would in terms of window management? It seems to me that the "real" code is there already in the windowing side of things, its just you have to "fake it" to get to do its thing and that this would be a more straight-forward solution? In any event it could solve the problem once in the window manager rather than several times in each application--?

I have little experience with this sort of code (being more of an science algorithm, data pipeline and web-hosted stuff guy!), so maybe I'm way off base...!


Grant

--
--------------------------------------------------------
Grant Jacobs                   email@hidden
Dunedin,                              ph. +64 3 478 0095
NEW ZEALAND.                         fax. +64 3 470 0095
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden

This email sent to email@hidden
References: 
 >X11 source code: structure, building (From: Ben Byer <email@hidden>)
 >Re: X11 source code: structure, building (From: "Nathaniel Gray" <email@hidden>)
 >Re: X11 source code: structure, building (From: Ben Byer <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.