Re: I feel configure events and requests are messed up

2011-09-08 Thread Bill Spitzak
Giovanni Campagna wrote: Yes, but in the middle of this is policy. If the originator of a resize is not the user, how the application can know that the new size is good? We need some way for central policy to kick in, and that's what I'm asking for with the explicit "configure" request. All the

Re: I feel configure events and requests are messed up

2011-09-08 Thread Giovanni Campagna
Il giorno gio, 08/09/2011 alle 17.36 -0400, Matthias Clasen ha scritto: > On Thu, 2011-09-08 at 22:35 +0200, Giovanni Campagna wrote: > > > > > Probably I forgot to mention, but at the Desktop Summit it was agreed > > that client-side decorations won't happen, neither in KWin nor Mutter, > > so t

Re: I feel configure events and requests are messed up

2011-09-08 Thread Matthias Clasen
On Thu, 2011-09-08 at 22:35 +0200, Giovanni Campagna wrote: > > Probably I forgot to mention, but at the Desktop Summit it was agreed > that client-side decorations won't happen, neither in KWin nor Mutter, > so the client does not need to worry about what edges it should draw. I think it is tim

Re: I feel configure events and requests are messed up

2011-09-08 Thread Giovanni Campagna
Il giorno gio, 08/09/2011 alle 16.32 -0400, Kristian Høgsberg ha scritto: > 2011/9/8 Giovanni Campagna : >>[...] >> > > I have nothing > > against having GDK calling wl_egl_window_resize, > > cairo_gl_surface_set_size, cogl_onscreen_update_size, etc. as part of > > interactive resizing, and I have

Re: I feel configure events and requests are messed up

2011-09-08 Thread Giovanni Campagna
Il giorno gio, 08/09/2011 alle 12.45 -0700, Bill Spitzak ha scritto: > Kristian Høgsberg wrote: > > >> You want a concrete example? Consider edge tiling: in that mode, the > >> window is not resizable, and attempts to programmatically resize it > >> should be cached and reapplied when the window i

Re: I feel configure events and requests are messed up

2011-09-08 Thread Kristian Høgsberg
2011/9/8 Giovanni Campagna : > Il giorno gio, 08/09/2011 alle 14.31 -0400, Kristian Høgsberg ha > scritto: >> 2011/9/7 Giovanni Campagna : >> > [...] >> > >> > You say it: "it's more important that clients always know exactly that >> > the buffer size of the EGLSurface they're rendering to correspo

Re: I feel configure events and requests are messed up

2011-09-08 Thread Giovanni Campagna
Il giorno gio, 08/09/2011 alle 14.31 -0400, Kristian Høgsberg ha scritto: > 2011/9/7 Giovanni Campagna : > > [...] > > > > You say it: "it's more important that clients always know exactly that > > the buffer size of the EGLSurface they're rendering to corresponds to > > the size of the window". If

Re: I feel configure events and requests are messed up

2011-09-08 Thread Bill Spitzak
Kristian Høgsberg wrote: You want a concrete example? Consider edge tiling: in that mode, the window is not resizable, and attempts to programmatically resize it should be cached and reapplied when the window is desnapped. Shall we tell the client it is edge tiled? If we go that road, we end up

Re: I feel configure events and requests are messed up

2011-09-08 Thread Kristian Høgsberg
2011/9/7 Giovanni Campagna : > Il giorno mer, 07/09/2011 alle 14.07 -0400, Kristian Høgsberg ha > scritto: >> 2011/9/7 Giovanni Campagna : >> > Il giorno mar, 06/09/2011 alle 22.54 -0400, Kristian Høgsberg ha >> > scritto: >> >> 2011/9/6 Giovanni Campagna : >> >> > Il giorno mar, 06/09/2011 alle 17