Re: [PATCH 3/5] shell: add managed_surface interface, request and events

2014-02-26 Thread Manuel Bachmann
Just some info regarding these taskbar patches ; I have some more patches fixing bugs experienced on certain cases (multiples outputs, DRM backend...). They are all available on GitHub, https://github.com/Tarnyko/weston-taskbar/commits/HEAD-taskbar. I could refactor and repost the whole set here.

Re: [PATCH 3/5] shell: add managed_surface interface, request and events

2014-02-19 Thread Pekka Paalanen
On Wed, 19 Feb 2014 06:18:18 +0100 Manuel Bachmann manuel.bachm...@open.eurogiciel.org wrote: We create a new managed_surface object which will track a surface compositor-side, and receive events shell-side to handle 3 cases : - a toplevel surface has been created ; - a toplevel surface has

Re: [PATCH 3/5] shell: add managed_surface interface, request and events

2014-02-19 Thread Manuel Bachmann
Hi Pekka, and thanks a lot for your review ! I changed my code, taking your comments into consideration. Here are the details : New events should be added last, so they do not change the opcodes of existing events. Ouch. You are right. I just reversed the order, so add_managed_surface is now

[PATCH 3/5] shell: add managed_surface interface, request and events

2014-02-18 Thread Manuel Bachmann
We create a new managed_surface object which will track a surface compositor-side, and receive events shell-side to handle 3 cases : - a toplevel surface has been created ; - a toplevel surface has been destroyed ; - a toplevel surface has a new title ; Signed-off-by: Manuel Bachmann