Re: [RFC PATCH 06/12] tablet-shell: Applications can run on tablet

2012-08-13 Thread Tiago Vignatti
On 08/13/2012 04:53 AM, Juan Zhao wrote: On Fri, 2012-08-10 at 10:30 +0300, Pekka Paalanen wrote: There once were plans to move wl_shell out of the core protocol file, but it didn't happen. I still do not consider wl_shell as part of the core Wayland. It is just a too important extension on the

Re: [RFC PATCH 06/12] tablet-shell: Applications can run on tablet

2012-08-12 Thread Juan Zhao
On Fri, 2012-08-10 at 10:30 +0300, Pekka Paalanen wrote: > On Fri, 10 Aug 2012 13:23:34 +0800 > Juan Zhao wrote: > .. > > wl_shell interfaces were defined in compositor side, in > > wayland/src/wayland.xml. > > Most client applications used them. > > Yes, because so far we have been targe

Re: [RFC PATCH 06/12] tablet-shell: Applications can run on tablet

2012-08-10 Thread Pekka Paalanen
On Fri, 10 Aug 2012 13:23:34 +0800 Juan Zhao wrote: > Thanks for your reply. > Still don't understand why not implement wl_shell on tablet_shell to > customize it for a embeded system. Sorry, I don't think I can explain it any better, but I'll try. > wl_shell interfaces were defined in composit

Re: [RFC PATCH 06/12] tablet-shell: Applications can run on tablet

2012-08-09 Thread Juan Zhao
Thanks for your reply. Still don't understand why not implement wl_shell on tablet_shell to customize it for a embeded system. wl_shell interfaces were defined in compositor side, in wayland/src/wayland.xml. Most client applications used them. Desktop shell implement one for desktop enviroment.

Re: [RFC PATCH 06/12] tablet-shell: Applications can run on tablet

2012-08-09 Thread Pekka Paalanen
On Thu, 09 Aug 2012 03:04:53 +0800 Juan Zhao wrote: > On Wed, 2012-08-08 at 12:18 +0300, Pekka Paalanen wrote: > > > > The applications, i.e. the normal clients, are yet another thing. > > > > What I meant was that the two different protocol extensions were not > > separated properly in tablet

Re: [RFC PATCH 06/12] tablet-shell: Applications can run on tablet

2012-08-08 Thread Juan Zhao
On Wed, 2012-08-08 at 12:18 +0300, Pekka Paalanen wrote: > > The applications, i.e. the normal clients, are yet another thing. > > What I meant was that the two different protocol extensions were not > separated properly in tablet shell. In the desktop shell, the public > protocol extension is wl

Re: [RFC PATCH 06/12] tablet-shell: Applications can run on tablet

2012-08-08 Thread Pekka Paalanen
On Wed, 08 Aug 2012 13:40:33 +0800 Juan Zhao wrote: > > On Tue, 2012-08-07 at 09:36 +0300, Pekka Paalanen wrote: > > > > Looking at the tablet-shell.xml protocol, I wonder if it is missing an > > interface. The interface tablet_shell seems to be private for the > > ux-daemon (tablet-shell clien

Re: [RFC PATCH 06/12] tablet-shell: Applications can run on tablet

2012-08-08 Thread Juan Zhao
On Tue, 2012-08-07 at 09:36 +0300, Pekka Paalanen wrote: > Hi, > > I didn't quite understand Tiago's reply, but maybe the following > helps. Thanks, pq, sure, it helps. :) > > Looking at the tablet-shell.xml protocol, I wonder if it is missing an > interface. The interface tablet_shell seems t

Re: [RFC PATCH 06/12] tablet-shell: Applications can run on tablet

2012-08-07 Thread Pekka Paalanen
On Tue, 07 Aug 2012 09:35:44 +0800 Juan Zhao wrote: > Thanks, Tiago. :) > It's helpful. > > On Mon, 2012-08-06 at 11:35 +0300, Tiago Vignatti wrote: > > Hi Juan, > > > > There's an intentional separation of the wl_shell_surface_interface > > on > > its own (desktop) shell file. Its purpose is

Re: [RFC PATCH 06/12] tablet-shell: Applications can run on tablet

2012-08-06 Thread Juan Zhao
Thanks, Tiago. :) It's helpful. On Mon, 2012-08-06 at 11:35 +0300, Tiago Vignatti wrote: > Hi Juan, > > There's an intentional separation of the wl_shell_surface_interface > on > its own (desktop) shell file. Its purpose is for building full > desktop > interfaces, in principle, and in fact thi

Re: [RFC PATCH 06/12] tablet-shell: Applications can run on tablet

2012-08-06 Thread Tiago Vignatti
Hi Juan, There's an intentional separation of the wl_shell_surface_interface on its own (desktop) shell file. Its purpose is for building full desktop interfaces, in principle, and in fact things like _move, _resize, _set_title and etc don't make sense on tablet style of interface. So what yo

[RFC PATCH 06/12] tablet-shell: Applications can run on tablet

2012-08-03 Thread juan . j . zhao
From: Juan Zhao Add a event in tablet-client. When a client is connected to server, the set_fullscreen event would be sent. and client will call shell_surface's set_fullscreen method to be fullscreen. Client application like dnd clickdot can run on tablet-shell. listener is added in window.c and