Re: Simple SHM Wayland Client

2014-05-30 Thread Jasper St. Pierre
On Fri, May 30, 2014 at 10:48 PM, Philip Rushik wrote: > great, thank you. That seems like what I was missing. Though I haven't had > the time to try it out yet. > What is the reason for switching from wl_shell to xdg_shell? Will > xdg_shell become part of libwayland-client or will applications h

Re: Simple SHM Wayland Client

2014-05-30 Thread Philip Rushik
great, thank you. That seems like what I was missing. Though I haven't had the time to try it out yet. What is the reason for switching from wl_shell to xdg_shell? Will xdg_shell become part of libwayland-client or will applications have to depend on weston also? What about for people using another

Re: Simple SHM Wayland Client

2014-05-30 Thread Ander Conselvan de Oliveira
On 05/30/2014 09:57 AM, Marek Chalupa wrote: Hi, On 29 May 2014 13:59, Philip Rushik mailto:prus...@gmail.com>> wrote: On Thu, May 29, 2014 at 8:02 PM, Marek Chalupa mailto:mchqwe...@gmail.com>> wrote: [...] xdg_surface stuff is not part of libwayland-client and I don't

Re: Simple SHM Wayland Client

2014-05-30 Thread Jasper St. Pierre
In order for something to show up, you need to put it in a desktop surface. The existing one is wl_shell_surface, but xdg_surface will replace it eventually. Look at a version of simple-shm.c from 1.4 ( http://cgit.freedesktop.org/wayland/weston/tree/clients/simple-shm.c?h=1.4 ) for info on how to

Re: Simple SHM Wayland Client

2014-05-30 Thread Marek Chalupa
On 30 May 2014 11:27, Philip Rushik wrote: > > > > On Fri, May 30, 2014 at 3:57 PM, Marek Chalupa > wrote: > >> >> These protocols are not a part of libwayland, but Weston. You can find >> their specification in weston/protocol directory (those xml files) and you >> can generate sources from the

Re: Simple SHM Wayland Client

2014-05-29 Thread Marek Chalupa
Hi, On 29 May 2014 13:59, Philip Rushik wrote: > > On Thu, May 29, 2014 at 8:02 PM, Marek Chalupa > wrote: > >> Hi, >> >> try to look at weston/tests/weston-test-client-helpers.c on the function >> client_create(). That could be the piece of code your'e looking for. >> >> Regards, >> Marek >>

Re: Simple SHM Wayland Client

2014-05-29 Thread Marek Chalupa
Hi, try to look at weston/tests/weston-test-client-helpers.c on the function client_create(). That could be the piece of code your'e looking for. Regards, Marek On 28 May 2014 17:24, Philip Rushik wrote: > Hi Everybody, > > I am trying to build a simple Wayland client, just sort of a "hello w

Simple SHM Wayland Client

2014-05-28 Thread Philip Rushik
Hi Everybody, I am trying to build a simple Wayland client, just sort of a "hello world" type deal right now. I want to avoid any OpenGL or external dependencies other than libwayland-client itself. All I want to do is be able to tell wayland to create a window, get myself a framebuffer which I ca