[PATCH] doc: made functions taking wl_event_queue arg belong to wl_event_queue

2014-12-22 Thread Bill Spitzak
The fact that these functions take both a display and queue argument is I think historical, and they really are methods on the queue. Also added some docs for wl_display_prepare_read_queue. --- src/wayland-client.c | 23 +++ 1 file changed, 19 insertions(+), 4 deletions(-)

Re: [PATCH v2] Fix "Back", "Forward", and other special mouse buttons in XWayland.

2014-12-22 Thread Peter Hutterer
On Mon, Dec 22, 2014 at 11:35:29AM -0800, Dima Ryazanov wrote: > Currently, the indexes are off by 4 because of the scroll buttons. > > Signed-off-by: Dima Ryazanov Reviewed-by: Peter Hutterer Cheers, Peter > --- > hw/xwayland/xwayland-input.c | 7 ++- > 1 file changed, 6 insertions(+)

[PATCH weston v2 3/6] test: Add clock_settime()

2014-12-22 Thread Derek Foreman
Add a way to set the presentation clock to an arbitrary value, but only when in test mode. Signed-off-by: Derek Foreman --- protocol/wayland-test.xml | 9 + src/compositor.c | 23 +++ src/compositor.h | 4 tests/weston-test.c | 13 ++

[PATCH weston v2 2/6] compositors: Wrap clock_gettime() usage

2014-12-22 Thread Derek Foreman
In preparation for a future patch which allows test clients to control the presentation clock, we wrap any clock_gettime() of the presentation clock in weston_compositor_presentation_clock_gettime(). Signed-off-by: Derek Foreman --- src/compositor-drm.c | 2 +- src/compositor-fbdev.c|

[PATCH weston v2 1/6] test: Add a compositor test-mode

2014-12-22 Thread Derek Foreman
For now, the intention of test-mode is to have a way to allow a client to control the presentation clock to allow capturing deterministic screenshots during testing. Once in test-mode you're trapped in test-mode forever. Signed-off-by: Derek Foreman --- protocol/wayland-test.xml | 12 ++

Re: [PATCH] doc: Improve doxygen conversion

2014-12-22 Thread Bill Spitzak
On 12/19/2014 07:00 AM, Pekka Paalanen wrote: I like the overall reorganization here. Thanks. Though most of the credit should go to doxygen, I noticed everything in it's xml output was in a much better order and decided to try to preserve that. Patch 4 adds some structs I'm not sure we s

Re: [PATCH wayland] doc: Fill in high level description for Surfaces

2014-12-22 Thread Jon A. Cruz
On 12/19/2014 04:25 AM, Pekka Paalanen wrote: > On Fri, 12 Dec 2014 20:29:29 + > Daniel Stone wrote: > >> Hi, >> >> On Friday, December 12, 2014, Bill Spitzak wrote: >> ... >>> I would avoid the use of the term "double buffered". Possible alternative: >>> "The change does not happen until

[PATCH weston] Fix "Back", "Forward", and other special mouse buttons in the X11 compositor.

2014-12-22 Thread Dima Ryazanov
They're off by 4 because of the scroll buttons. (However, if you test them in XWayland, they'll appear to work because XWayland has the same bug; see http://lists.x.org/archives/xorg-devel/2014-December/044987.html) Signed-off-by: Dima Ryazanov --- src/compositor-x11.c | 5 - 1 file changed

[PATCH v2] Fix "Back", "Forward", and other special mouse buttons in XWayland.

2014-12-22 Thread Dima Ryazanov
Currently, the indexes are off by 4 because of the scroll buttons. Signed-off-by: Dima Ryazanov --- hw/xwayland/xwayland-input.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/hw/xwayland/xwayland-input.c b/hw/xwayland/xwayland-input.c index b8c543c..5e20418 100644 ---

Re: [PATCH] Fix "Back", "Forward", and other special mouse buttons in XWayland.

2014-12-22 Thread Dima Ryazanov
Sure, I'll fix that. On Sun, Dec 21, 2014 at 8:43 PM, Peter Hutterer wrote: > On Sun, Dec 21, 2014 at 02:39:02AM -0800, Dima Ryazanov wrote: > > Currently, the indexes are off by 4 because of the scroll buttons. > > > > Signed-off-by: Dima Ryazanov > > --- > > hw/xwayland/xwayland-input.c | 7