Re: An experiment (was Re: Move help menu item...)

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

 



Daniel.Egger@xxxxxxx wrote:

> On 13 Feb, Kelly Lynn Martin wrote:
>
> > This can be dangerous; you can get a resizing loop if your code isn't
> > carefully written.  Window managers can refuse to accept a client
> > resize request or can modify it, which could result in a duel between
> > GIMP and the window manager as the two fight over who gets to decide
> > what size the window will be.
>
>  Hm, but how does it work to create the initial window then? Doesn't
>  gtk/gdk tell the window manager how big the window should be?

<snipped...>

Kelly's right; there is no confusion about it. Window managers own windows.
Period. The best that an application can do is HINT about a 'favored size', but
said application has to be prepared to deal with the circumstance when that size
is not available. This is because window managers are run by users, who express
all kinds of preferences to the window manager itself. Indeed, a window manager
isn't even obligated to MAP an application.

Be good, be well.

Garry Osgood




[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux