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: [PATCH libinput 0/24] Tablet support

2014-05-30 Thread Chandler Paul
Hi! I've been busy at work fixing up the set of patches that carlos sent and I've finally got some commits up. This is rebased from the original branch that I linked to (carlos_cleanup) to work with the latest upstream master. You can find it here: https://github.com/Lyude1337/libinput/tre

[PATCH wayland-web 1/7] Put a box around all code samples

2014-05-30 Thread Bill Spitzak
From: Bill Spitzak Added "comment" css class to colorize comments --- wayland.css |2 ++ 1 file changed, 2 insertions(+) diff --git a/wayland.css b/wayland.css index 7f058ba..d7ef79f 100644 --- a/wayland.css +++ b/wayland.css @@ -8,3 +8,5 @@ a { color: #444; } a:hover { color: #888; } a:v

[PATCH wayland-web 2/7] Simple updates to Weston build instructions

2014-05-30 Thread Bill Spitzak
From: Bill Spitzak - $WLD/bin must be on the path - Put info about system-wide install in one place - Removed drm, libxkbcommon, pixman, cairo as distributed versions are usable nowadays. - Added libinput --- building.html | 167 +++-- 1

[PATCH wayland-web 7/7] Added links to the online versions of git repositories

2014-05-30 Thread Bill Spitzak
Also fixed drm git repository to what I think is the correct one, as it has one later commit than the one given in the old instructions. --- building.html | 26 ++ xserver.html | 14 -- 2 files changed, 22 insertions(+), 18 deletions(-) diff --git a/buildi

[PATCH wayland-web 5/7] Added a 'running weston' chapter

2014-05-30 Thread Bill Spitzak
From: Bill Spitzak Moved $XDG_RUNTIME_DIR into it. --- building.html | 105 +++-- 1 file changed, 57 insertions(+), 48 deletions(-) diff --git a/building.html b/building.html index d0ddccf..6870a8b 100644 --- a/building.html +++ b/building.ht

[PATCH wayland-web 0/7] Version 5 of build instructions patch

2014-05-30 Thread Bill Spitzak
This is a duplicate posting but I removed the in-reply-to because that seems to have hidden it, as there have been no comments. Changes are to incorporate the patches from Pekka Paalanen, removing incorrect changes I made, and to add the requested links to home pages, and also to the online-ver

[PATCH wayland-web 6/7] Added comments about dependencies after each build instruction

2014-05-30 Thread Bill Spitzak
From: Bill Spitzak Added many links to various project home pages when I could find them. --- building.html| 93 +++--- ubuntu12.04.html |2 +- xserver.html | 27 3 files changed, 83 insertions(+), 39 deletions(-)

[PATCH wayland-web 4/7] Added page of Ubuntu12.04 specific directions

2014-05-30 Thread Bill Spitzak
From: Bill Spitzak --- building.html| 19 +++- ubuntu12.04.html | 291 ++ 2 files changed, 307 insertions(+), 3 deletions(-) create mode 100644 ubuntu12.04.html diff --git a/building.html b/building.html index 57ee2fb..d0ddccf 100644 -

[PATCH wayland-web 3/7] Fixed xserver build instructions

2014-05-30 Thread Bill Spitzak
From: Bill Spitzak - Removed xtrans as it is no different than other dependencies - Added comment from commit message about new configure line - Fix for bug in libepoxy configure --- building.html |2 +- xserver.html | 53 + 2 files ch

Re: [PATCH libinput 0/24] Tablet support

2014-05-30 Thread Bill Spitzak
My first question is that ints are allowed in the api, so why is it not using them instead of fixed. I think it is a lot clearer to say the maximum value is 0x7FFF than 16777215.99609375. The bit pattern sent is identical so it is simply a documentation question. I'm now thinking that norm

Re: [PATCH libinput 0/24] Tablet support

2014-05-30 Thread Jason Gerecke
On Thu, May 29, 2014 at 11:45 PM, Daniel Stone wrote: > On 29 May 2014 18:54, Jason Gerecke wrote: >> >> If that's the case though, I have to ask -- *why* on Earth is >> 'li_fixed_t' even being considered as libinput's output type? I know >> I'm missing something because the thought seems like su

[PATCH weston] weston/configure.ac: make lcms configurable

2014-05-30 Thread Tim Orling
From: Tim Orling Make lcms support explicitly configurable. Signed-off-by: Tim Orling --- configure.ac | 22 +- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index e2bf38d..f509937 100644 --- a/configure.ac +++ b/configure.ac @@

Re: [PATCH libinput 2/2] evdev-mt-touchpad-buttons: Add support for top softbutton area

2014-05-30 Thread Hans de Goede
Hi, On 05/29/2014 08:53 AM, Peter Hutterer wrote: > On Wed, May 28, 2014 at 03:19:56PM +0200, Hans de Goede wrote: >> Add support for the top softbutton area found on some laptops. >> >> For details of how this works, see the updated >> doc/touchpad-softbutton-state-machine.svg diagram. >> >> Basi

Re: query fullscreen size to pass that value in callback calling glviewport.

2014-05-30 Thread Rohit Nandan
Exactly it was. I placed my gl & egl resize calback after tooglescreen when event recieved is key F11. Which was never called. Corrected it by placing it in resize function. Thanks Rohit Nandan On Fri, May 30, 2014 at 5:17 PM, Jasper St. Pierre wrote: > That sounds like a bug in your window s

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: query fullscreen size to pass that value in callback calling glviewport.

2014-05-30 Thread Jasper St. Pierre
That sounds like a bug in your window system library. The compositor will send you the updated size in the configure event. On Fri, May 30, 2014 at 2:54 AM, Rohit Nandan wrote: > Niether window_size gets updated not geometry of struct window after > configure event or callback. > Is their no wa

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

[PATCH wayland 1/2] protocol: document error cases with wl_shm_pool.create_buffer

2014-05-30 Thread Jonny Lamb
This already happens in weston. --- protocol/wayland.xml | 5 + 1 file changed, 5 insertions(+) diff --git a/protocol/wayland.xml b/protocol/wayland.xml index 22eb6e7..3091d83 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -222,6 +222,11 @@ A buffer will keep a refere

[PATCH wayland 2/2] protocol: add wl_surface errors enum for bad scale and transform values

2014-05-30 Thread Jonny Lamb
--- protocol/wayland.xml | 15 +++ 1 file changed, 15 insertions(+) diff --git a/protocol/wayland.xml b/protocol/wayland.xml index 3091d83..951aafc 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -982,6 +982,14 @@ cursor images for pointers, drag icons, etc.

[PATCH weston] compositor: raise errors when bad scale or transform values are used

2014-05-30 Thread Jonny Lamb
--- src/compositor.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/src/compositor.c b/src/compositor.c index 574db2d..3c5c8e3 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -2138,6 +2138,16 @@ surface_set_buffer_transform(struct wl_client *client, { stru

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

[PATCH weston] xdg-shell: add description tags where missing

2014-05-30 Thread Jonny Lamb
wayland.dtd specifies the use of the description tags inside entry so let's use them. --- protocol/xdg-shell.xml | 30 +++--- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/protocol/xdg-shell.xml b/protocol/xdg-shell.xml index 28add40..00ff39f 100644 --- a/

Re: [PATCH weston] input: implement repeat_info event on wl_keyboard

2014-05-30 Thread Jonny Lamb
On gio, 2013-11-28 at 15:34 +0100, Jonny Lamb wrote: > Sorry for the delay with these patches, I forgot to update them. Here > they are again, updated to master and support for rate and delay in > toytoolkit implemented. Here they are updated again for current master. -- Jonny Lamb _

[PATCH wayland] protocol: add repeat_info event to wl_keyboard

2014-05-30 Thread Jonny Lamb
In the process wl_keyboard's version has been incremented. Given clients get the wl_keyboard from wl_seat without a version, wl_seat's version has also been incremented (wl_seat version 4 implies wl_keyboard version 4). --- protocol/wayland.xml | 17 +++-- 1 file changed, 15 insertions

[PATCH weston] input: send wl_keyboard.repeat_info with rate and delay info

2014-05-30 Thread Jonny Lamb
The compositor reads the values out from weston.ini, the weston compositor passes on the values, the weston-info client prints out the values, and the values are respected in toytoolkit. --- clients/weston-info.c| 106 --- clients/window.c |