Re: Proposing a simple-cairo-client for wayland-demos

2011-05-05 Thread Bill Spitzak
I really like having an example that is everything in one file, like this. Please keep this maintained and make sure it is easy for anybody learning Wayland to find it. Further enhancements might be to actually do something with events (just printing "click at x,y" and so on to stdout). Obviou

Re: Proposing a simple-cairo-client for wayland-demos

2011-05-05 Thread Alberto Ruiz
I've updated the code following comments from krh and bnf on IRC http://pastebin.com/VpJ41cJb 2011/5/5 Alberto Ruiz : > Hello, > > As an excercise to understand the basics of the wayland client API > I've developed a minimalistic cairo client. The main trouble I had > with simple-client is that th

Proposing a simple-cairo-client for wayland-demos

2011-05-05 Thread Alberto Ruiz
Hello, As an excercise to understand the basics of the wayland client API I've developed a minimalistic cairo client. The main trouble I had with simple-client is that the opengl bits were obfucating the basics of the wayland API as some steps were hidden there (given my limited understanding of E