Re: Still need a hint for undecorated windows
- From: Bill Haneman <Bill Haneman Sun COM>
- To: Havoc Pennington <hp redhat com>
- Cc: wm-spec-list gnome org, Lubos Lunak <l lunak suse cz>
- Subject: Re: Still need a hint for undecorated windows
- Date: Fri, 01 Jul 2005 11:10:21 +0100
Havoc Pennington wrote:
On Thu, 2005-06-30 at 21:33 +0100, Bill Haneman wrote:
For 'normal' popups like menus, I agree with you that the toolkit
probably should be using _NET_WORKAREA intelligently. But I really
don't know that this is 'simpler' because you have to fix every toolkit,
and every app that works-around the toolkit or does this in a
non-standard way, and you have to get every toolkit maintainer to accept
your patches, etc. Given that the WM is being invoked as a sort of
standard bearer for 'good behavior', why not fix it there? Besides,
even for menus, I don't think the toolkit can get it right for
accessibility using override-redirect because, for instance...
Popup menus as they currently work can't be window managed, because the
toolkit wants to grab the keyboard/mouse (and if you let the WM delay
the window mapping, there's a race condition where you have to wait for
the map prior to the grab).
To do popup menus as managed a couple things are needed:
- they have to behave in Windows style (pop down on unfocus)
rather than current "pop down on click elsewhere"
- a new _NET_WM_TYPE so window managers don't try to place
the menu or other such screwups
Good points, thanks for the reminder Havoc.
Maybe we really do need to makes these changes - because as I said, with
the advent of alpha visuals on X, things are about to get even more
complicated, and I don't see a better way allow popups to coexist
successfully with "really really on top" AT windows that intersect them
in the 2d projection of the display (i.e. popups that need to pop
"under" an AT window).
I'll be off the air, myself for a couple of weeks, and maybe we are
straying away from the original topic a bit. Nonetheless I think we've
raised a key question - maybe someone will come up with a brilliant
solution while I am away :-)
regards
Bill
Havoc
_______________________________________________
wm-spec-list mailing list
wm-spec-list gnome org
http://mail.gnome.org/mailman/listinfo/wm-spec-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]