Re: Work in Progress: draft 1.9a



Matthias Ettrich wrote:
> 
> > > think ICCCM handles that just fine: applications with modal dialogs should
> > > request the WM_TAKE_FOCUS protocol and take care themselves that the modal
> > > dialog gets the focus.
> >
> > One thing usefull in MWM hints is that a WM can prevent the parent
> > window from being focused by default.
> 
> I'm not opposed to adding this to the new standard. But as I said: according to
> ICCCM the application should do this itself, using the WM_TAKE_FOCUS protocol.
> In other words: the app receives WM_TAKE_FOCUS for the parent and will call
> XSetInputFocus for the modal dialog.

Doesn't that mean that window border will momentarily go to the parent
window?

This modal thing reminds me of something else: Currently
application-modal windows are not handled very nicely (in Qt anyway).
When you click on one of the main windows, it will be raised and then Qt
raised the app-modal dialog again. This is annoying. 

Mark
-- 
... GUI: WPS.
------------------------------------------------------------------------
Marko.Macek@gmx.net                 http://www.kiss.uni-lj.si/~k4fr0235/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]