Re: new hint for EWMH

Carsten Haitzler (The Rasterman) <[email protected]>
Newsgroups gmane.comp.gnome.wm-spec
Organization You expect me to be organized?
Message-ID <[email protected]>
On Fri, 03 Aug 2007 08:28:00 +0300 Tapani Pälli <[email protected]>
babbled:

i think what lubos was getting at is - make the input method window a MANAGED
window (not override-redirect) and just have a new window type - then let the
wm place that type of window anywhere it likes (where it thinks is a good idea
so it won't overlap other windows). i agree - this is cleaner than hinting at
rectangle lists.

> ext Lubos Lunak wrote:
> > On Monday 30 of July 2007, Tapani Pälli wrote:
> >   
> >> Hello,
> >> I would like to suggest a new hint '_NET_INPUT_AREAS' for EWMH to be
> >> used by window managers and toolkits. This hint would be a list of
> >> rectangles representing bounding boxes of the input methods on the screen.
> >> This allows a toolkit to place it's temporary windows (that might have
> >> input-entries) like popup-menu's so that they won't cover input-method
> >> areas and user can interact with those windows.
> >>
> >> I have suggested to have this patch for Matchbox window manager :
> >> http://bugzilla.openedhand.com/show_bug.cgi?id=333
> >>     
> >
> >  I'm not sure I understand the purpose of the hint correctly - why not
> > simply add a new window type for these windows? Could you post a
> > description for the hint as it should be included in the spec?
> >   
> 
> New Window type is fine for WM but a list of rectangles is much better
> toolkit-wise. Without this hint toolkit would need to go through whole
> window tree and pick input-method windows and then make collision
> detection logic. This is much heavier that having coordinates from the
> start. Description below :
> 
> ---------- 8< -------------------------------------------------------
> 
> Section : Root Window Properties (and Related Messages)
> 
> ...
> 
> _NET_INPUT_AREAS
> 
> _NET_INPUT_AREAS CARDINAL[]/32
> 
> This array contains a list of input-method areas. Toolkit and
> Applications can use this information to place their input-entry windows
> so that they won't overlap input-methods. Property is set and updated by
> the Window Manager.
> 
> // Tapani
> 
> _______________________________________________
> wm-spec-list mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/wm-spec-list
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [email protected]
裸好多
Tokyo, Japan (東京 日本)
_______________________________________________
wm-spec-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/wm-spec-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.