Re: Sloppy
Re: Sloppy
- Subject: Re: Sloppy
- From: Sean Ahern <email@hidden>
- Date: Mon, 13 Jan 2003 12:39:01 -0800
Ernst Mulder wrote:
> Just FYI not all Mac OS X applications behave this way. Take the Calculator
> for instance, it accepts first clicks, the window doesn't have to be the
> active window to press a button on the calculator.
>
> Also the tool windows in Photoshop and such (which are special windows,
> floating windows) accept first clicks.
Fair enough.
> It would be better of course if the gimp's windows except for the document
> window were floating windows. But I guess there's no way for the window
> manager to decide whether a window is a normal window or a floating window.
Hm. I suppose the app could specify that the windows are "transient"
through the use of the WM_TRANSIENT_FOR hint. But they really aren't
transient windows, so that's not an ideal solution.
> So (and I may think too simple here, don't know how the X11 windowing
> protocol works) wouldn't it be possible to add an extension to X11 so
> that when an app runs under quartz-wm it can tell which windows are
> floating and which windows aren't?
That would be nice. But I don't think we're going to be able to get all
apps to comply. There are just too many out there, and X11.app isn't
really in a place to dictate requirements.
Another solution might be to have X11.app config settings that specify
which windows in an x11 app are floating.
Then again, having pointer-focus would be a quick way around this. Apple
engineers, any thoughts to having this? Otherwise, I might spend some time
writing an X11 client app that "fakes" it. It shouldn't be too hard for
another client app to watch for all EnterNotify events, then change focus
based on that. If I have some time this weekend, I might take a hack at
it.
> And to top it off put its menu's in the menu bar? Thus nicely
> integrating (modified) X11 applications into Aqua?
I wish it were that simple. Unfortunately, X11 doesn't even have the
concept of menus. It's too low-level for that. Apps written with a
higher-level toolkit like Motif, GTK, wxwindows, or Qt do, but that's not a
level that X11.app has access to.
-Sean
__
email@hidden
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.
References: | |
| >Re: Sloppy (From: Sean Ahern <email@hidden>) |
| >Re: Sloppy (From: Ernst Mulder <email@hidden>) |