gtk+ and randr

Adam Jackson ajax at nwnk.net
Tue Jul 29 07:46:30 PDT 2008


On Fri, 2008-07-25 at 18:56 +0200, Harald Braumann wrote:
> On Thu, 24 Jul 2008 16:49:47 -0400
> Adam Jackson <ajax at nwnk.net> wrote:
> > The
> > toolkit wants to know the borders of the glass so it can adjust window
> > placement, and it wants to know output names so it can do things like
> > maximize impress to the right bit of glass. 
> 
> What I don't understand is, why toolkits need to know this in the first
> place. Shouldn't it be the responsibility of the window manager to
> place windows? I guess, currently the WM doesn't have enough
> information to place e.g. drop-down menus. But shouldn't the Extended WM
> Hints be extended even more, to allow for this? Like in the case of
> drop-down menus the WM would need to know position and size of the
> widget to which the menu should be connected. 

Menus are override-redirect windows.  The window manager doesn't get the
opportunity to place them.

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg/attachments/20080729/2505b8fd/attachment.pgp>


More information about the xorg mailing list