Re: [PATCH] compositor: fix dangling pointer

2012-02-14 Thread Pekka Paalanen
On Tue, 14 Feb 2012 23:00:03 +0100 Pavel Sterin wrote: > if a client crashes during drag and drop a notify_motion > can be triggered after the surface has been destroyed, so traverse > all the input devices and look reset the corresponding grab > focus. > --- > src/compositor.c |6 ++ >

Re: [PATCH] [RFC]Shell: Hide panels when compositor has a top fullscreen surface.

2012-02-14 Thread Pekka Paalanen
On Wed, 15 Feb 2012 09:18:17 +0800 "wuzhiwen" wrote: > > >-Original Message- > >From: Bill Spitzak [mailto:spit...@gmail.com] > >I would expect the panels to remain visible below the fullscreen surface, > so the > >user could click on them if there are transparent areas in the fullscreen

Re: [PATCH] [RFC]Shell: Hide panels when compositor has a top fullscreen surface.

2012-02-14 Thread Juan Zhao
On 02/15/2012 06:02 AM, Bill Spitzak wrote: zhiwen...@intel.com wrote: If yes, remove the panel surface from weston_compositor::surface_list and store them to wl_shell:hidden_panels. If no, and we have hidden panels, unhide them. Does this mean that if the fullscreen surface has some

RE: [PATCH] [RFC]Shell: Hide panels when compositor has a top fullscreen surface.

2012-02-14 Thread wuzhiwen
>-Original Message- >From: Bill Spitzak [mailto:spit...@gmail.com] >Sent: Wednesday, February 15, 2012 6:02 AM >To: Wu, Zhiwen >Cc: wayland-devel@lists.freedesktop.org >Subject: Re: [PATCH] [RFC]Shell: Hide panels when compositor has a top >fullscreen surface. > >zhiwen...@intel.com wrote

Re: [PATCH] [RFC]Shell: Hide panels when compositor has a top fullscreen surface.

2012-02-14 Thread Juan Zhao
On 02/15/2012 06:02 AM, Bill Spitzak wrote: 4.For now, popup surface is treated as regular surface, when popup surface got on top of fullscreen surface,panels will be unhidden. That sounds extremely obnoxious. Especially if the panel obscures the object being clicked to bring up the popu

Re: [PATCH] [RFC]Shell: Hide panels when compositor has a top fullscreen surface.

2012-02-14 Thread Bill Spitzak
zhiwen...@intel.com wrote: If yes, remove the panel surface from weston_compositor::surface_list and store them to wl_shell:hidden_panels. If no, and we have hidden panels, unhide them. Does this mean that if the fullscreen surface has some transparent area, the user will be able to se

[PATCH] compositor: fix dangling pointer

2012-02-14 Thread Pavel Sterin
if a client crashes during drag and drop a notify_motion can be triggered after the surface has been destroyed, so traverse all the input devices and look reset the corresponding grab focus. --- src/compositor.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/comp

Re: weston segfaults if client dies during dnd

2012-02-14 Thread Pavel Sterin
gmail crippled my first patch, so here another try with git-send-email Pavel ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Re: [RFC] compositor: Introduce composite zoom. v1

2012-02-14 Thread Scott Moreau
I failed to address this comment: > > + glUniformMatrix4fv(es->shader->modelview_uniform, > > +1, GL_FALSE, modelview_inverse.d); > > The inverse matrix is going into modelview uniform, one of them needs a > corretion in the name. > Perhaps modelview_uniform and model

Re: [PATCH 3/3] compositor-drm: add sprite support v6

2012-02-14 Thread Benjamin Franzke
2012/2/14 Jesse Barnes : > On Tue, 14 Feb 2012 10:52:11 +0100 > Benjamin Franzke wrote: >> > +       bo = gbm_bo_create_from_egl_image(c->gbm, c->base.display, >> > es->image, >> > +                                         es->geometry.width, >> > es->geometry.height, >> > +                    

Re: [PATCH 3/3] compositor-drm: add sprite support v6

2012-02-14 Thread Jesse Barnes
On Tue, 14 Feb 2012 10:52:11 +0100 Benjamin Franzke wrote: > > +       bo = gbm_bo_create_from_egl_image(c->gbm, c->base.display, > > es->image, > > +                                         es->geometry.width, > > es->geometry.height, > > +                                         GBM_BO_USE_SCA

Re: [RFC] compositor: Introduce composite zoom. v1

2012-02-14 Thread Scott Moreau
On Tue, Feb 14, 2012 at 12:53 AM, Pekka Paalanen wrote: > On Mon, 13 Feb 2012 15:26:16 -0700 > Scott Moreau wrote: > > > Implements a modelview matrix for transforms to simulate camera movement. > > Ideally, we would want to use +Scroll but that will have to > > wait for axis events to come. For

weston segfaults if client dies during dnd

2012-02-14 Thread Pavel Sterin
Hi! I was playing a little bit with wayland/weston after the 0.85 release, and mixed up the installation paths making the clients/dnd example crash after the first click. While this is not a problem (for the compositor), there is a dangling pointer in device->grab->focus. When I tried to drag a flo

Re: [PATCH 3/3] compositor-drm: add sprite support v6

2012-02-14 Thread Benjamin Franzke
2012/2/9 Jesse Barnes : > Add support for assigning surfaces to overlay sprites using the new > assign_planes hook. > > v2: queue per-sprite vblank events to avoid de-queuing sprite updates >    for unrelated outputs (reported by krh) > v3: handle output and surface transformation when calculating

[PATCH] [RFC]Shell: Hide panels when compositor has a top fullscreen surface.

2012-02-14 Thread zhiwen . wu
From: Alex Wu Hi krh This patch is the implementation of the method 3 of the proposal(http://lists.freedesktop.org/archives/wayland-devel/2012-February/002085.html) for handling panels when compositor has a top fullscreen regular surface, and rebases on commit 8fb8d3b1b5b4ef7836a61f111ae