[PATCH weston] compositor: fix typo in error message

2013-09-30 Thread Aaron Faanes
--- src/compositor-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compositor-wayland.c b/src/compositor-wayland.c index 2b8b956..77b2a2c 100644 --- a/src/compositor-wayland.c +++ b/src/compositor-wayland.c @@ -97,7 +97,7 @@ create_border(struct wayland_compositor

[PATCH weston] Add calls to wl_shm_buffer_begin/end_access

2013-09-30 Thread Neil Roberts
This wraps all accesses to an SHM buffer between wl_shm_buffer_begin and end so that wayland-shm can install a handler for SIGBUS and catch attempts to pass the compositor a buffer that is too small. Note, this patch doesn't do anything to fix the pixman renderer. --- src/compositor-drm.c | 3 ++

[PATCH] server: Add API to protect access to an SHM buffer

2013-09-30 Thread Neil Roberts
Linux will let you mmap a region of a file that is larger than the size of the file. If you then try to read from that region the process will get a SIGBUS signal. Currently the clients can use this to crash a compositor because it can create a pool and lie about the size of the file which will cau

A new XWayland Glamor DDX

2013-09-30 Thread Axel Davy
Hi All, I've published a new XWayland DDX based on Glamor. The source code is inspired from the Radeon DDX. I've tested it on an intel hd4000 and an Amd hd7730m without issues. (Need a recent Xserver with XWayland support). More tests and comments are welcomed. The source code can be found

Re: [PATCH] version.h: Add version check macro

2013-09-30 Thread Bill Spitzak
On 09/29/2013 02:56 PM, Kristian Høgsberg wrote: No, we don't guarantee plugin API compatiblity from 1.2 to 1.3. We may remove functions, structure fields, or change how existing functions work between 1.x versions. There is no guarantee your plugin will work or even compile with 1.3 even if i

Re: [PATCH docs] Clarify the wire format array specification

2013-09-30 Thread Bill Spitzak
On 09/28/2013 12:09 AM, Pekka Paalanen wrote: On Fri, 27 Sep 2013 17:11:47 -0500 Micah Nordland wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/27/2013 05:02 PM, Bill Spitzak wrote: I think it is confusing to call this an "array", rather than perhaps a "block" or something. When

[PATCH weston 2/2] shell: override the default pointer grab interface

2013-09-30 Thread Giulio Camuffo
when a fullscreen surface hides the cursor, such as mpv, we must make sure that the cursor gets hidden also when it is over the underlying black surface. so check if the surface under the pointer is a black surface and focus on its parent surface. this results in sending pointer coordinates that ar

[PATCH weston 1/2] compositor: add a way to override the default pointer grab

2013-09-30 Thread Giulio Camuffo
--- src/compositor.c | 16 src/compositor.h | 11 ++- src/input.c | 18 +++--- 3 files changed, 41 insertions(+), 4 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index 0fa6613..62a3558 100644 --- a/src/compositor.c +++ b/src/compositor.c @