Re: XAppleWMFrameDraw(), CoreGraphics, TWM
Re: XAppleWMFrameDraw(), CoreGraphics, TWM
- Subject: Re: XAppleWMFrameDraw(), CoreGraphics, TWM
- From: Eeri Kask <email@hidden>
- Date: Sun, 28 Aug 2011 19:22:54 +0200
On 08/28/2011 12:26 AM, Brandon Allbery wrote:
> I believe "front window" is actually the Apple concept; the notion of a
> non-frontmost window having focus is foreign to the Apple frameworks, so
> "focus" and "front window" mean the same thing. It maps directly to the X11
> concept of focused window.
>
> In other words, don't get lost in the terminology, just use the focused
> window and have done.
Having quick-read some random docs about "beginners' guide to Aqua"
and such one becomes even more confused. :-)
In respect to Aqua-event management it appears the "front window"
concept in Aqua desktop is not so straightforward at all; e.g. one
can close Aqua-windows, move these, and even work with Aqua
applications by mouse *without* the need to bring a particular
application to the "front" ... e.g. by pressed CMD one can command
Calculator.app by mouse and the same time send all keyboard input
into Terminal.app, which is in itself a very welcome feature.
So a too simplistic conclusion would lead one believe it is not
necessarily required a window to be a "front window" at all in order
to be affected by the 'close' event under OSX generally, at least
regarding Aqua windows.
The other side of the story is, if one day one might think that the
'close' event should affect the window having keyboard if the user
presses the imaginary Apple 'close' key on the keyboard; and the
'close' event should affect the window with mouse if the user clicks
some imaginary 'close' button-20 on his megamouse; and so forth the
'close' event should affect the top-of-stack window if some
electroencefalographic scanner triggers a hit; then having delegated
the semantical interpretation downwards to the X11-WM, which e.g.
always 'closes' the 'focused' window, appears to be not the very
best decision, doesn't it?
Eeri Kask
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden
References: | |
| >XAppleWMFrameDraw(), CoreGraphics, TWM (From: Eeri Kask <email@hidden>) |
| >Re: XAppleWMFrameDraw(), CoreGraphics, TWM (From: Jeremy Huddleston <email@hidden>) |
| >Re: XAppleWMFrameDraw(), CoreGraphics, TWM (From: Eeri Kask <email@hidden>) |
| >Re: XAppleWMFrameDraw(), CoreGraphics, TWM (From: Jeremy Huddleston <email@hidden>) |
| >Re: XAppleWMFrameDraw(), CoreGraphics, TWM (From: Eeri Kask <email@hidden>) |
| >Re: XAppleWMFrameDraw(), CoreGraphics, TWM (From: Jeremy Huddleston <email@hidden>) |
| >Re: XAppleWMFrameDraw(), CoreGraphics, TWM (From: Eeri Kask <email@hidden>) |
| >Re: XAppleWMFrameDraw(), CoreGraphics, TWM (From: Jeremy Huddleston <email@hidden>) |
| >Re: XAppleWMFrameDraw(), CoreGraphics, TWM (From: Eeri Kask <email@hidden>) |
| >Re: XAppleWMFrameDraw(), CoreGraphics, TWM (From: Brandon Allbery <email@hidden>) |