Re: [PATCH 1/2] evdev: use mtdev for multitouch devices

2012-03-14 Thread Peter Hutterer
On Wed, Mar 14, 2012 at 03:29:19PM -0300, Tiago Vignatti wrote: > mtdev library translates all multitouch based devices to the slotted evdev > protocol. It provides an uniform interface for Weston, which eases mt > implementation when dealing with a big variety of devices. > > Weston on drm now di

Re: [PATCH 2/2] evdev: open in nonblocking mode

2012-03-14 Thread Peter Hutterer
On Wed, Mar 14, 2012 at 03:29:20PM -0300, Tiago Vignatti wrote: > mtdev exposed an issue in which device fd blocks inside the library freezing > Weston: > > 0x004d696e in mtdev_fetch_event (dev=0x9fe64a8, fd=19, ev=0xbfda3438) > 0x004d6a77 in mtdev_get (dev=0x9fe64a8, fd=19, ev=0xbfda3478, ev_

Re: Can't build xwayland

2012-03-14 Thread darxus
On 03/15, Nerdopolis wrote: > Install the latest xmarcros from GIT (described on the Wayland page) into your > build path, (whatever your $WLD is). and then add --disable-selective-werror > to > the ./config for the xserver Thanks. Already had macros. With --disable-selective-werror krh's repo

Re: Can't build xwayland

2012-03-14 Thread Nerdopolis
writes: > > Based on > http://lists.freedesktop.org/archives/wayland-devel/2011-June/001163.html > but using git://people.freedesktop.org/~krh/xserver -b xwayland since it > appears to have the patches from Corentin's repo: (gmane needed me to prune the quoted text) Install the latest xmarcro

Can't build xwayland

2012-03-14 Thread darxus
Based on http://lists.freedesktop.org/archives/wayland-devel/2011-June/001163.html but using git://people.freedesktop.org/~krh/xserver -b xwayland since it appears to have the patches from Corentin's repo: git clone git://people.freedesktop.org/~krh/xserver -b xwayland cd xserver CFLAGS="-O0 -ggdb

Re: [PATCH 2/3] compositor: fix option types

2012-03-14 Thread Tiago Vignatti
On 03/13/2012 05:11 AM, Pekka Paalanen wrote: On Mon, 12 Mar 2012 19:06:39 -0300 Tiago Vignatti wrote: Basically all integer options should be set as unsigned integers instead. Funny that WESTON_OPTION_INTEGER is not being used anywhere now. Signed-off-by: Tiago Vignatti --- clients/eventde

[PATCH v2] parser: be more picky for integer values

2012-03-14 Thread Tiago Vignatti
It was silently accepting "-i=3", "-i=3/2", "--idle-time=*3" and similar unwanted type of arguments, not changing anything internally; this gives the wrong impression for the user. Now it explicitly ignores. Signed-off-by: Tiago Vignatti --- since v1: - use strtol() built-in features for checking

Re: Updated Ubuntu build script

2012-03-14 Thread darxus
On 03/14, Bill Spitzak wrote: > Is there a reason you put all the git checkouts under ~/install > rather than under the current directory like your previous versions? Because it hadn't occurred to me that somebody might use it that way. I've been keeping my git repos and installed stuff in the sa

[PATCH] cairo-util: load_cairo_surface returns NULL if loading the file fails.

2012-03-14 Thread ustun . ergenoglu
From: Ustun Ergenoglu Otherwise a non-existent file in the configuration crashes the desktop shell. Signed-off-by: Ustun Ergenoglu --- clients/cairo-util.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/clients/cairo-util.c b/clients/cairo-util.c index 1f8d307..6d5

[PATCH 2/2] evdev: open in nonblocking mode

2012-03-14 Thread Tiago Vignatti
mtdev exposed an issue in which device fd blocks inside the library freezing Weston: 0x004d696e in mtdev_fetch_event (dev=0x9fe64a8, fd=19, ev=0xbfda3438) 0x004d6a77 in mtdev_get (dev=0x9fe64a8, fd=19, ev=0xbfda3478, ev_max=8) 0x0097720b in evdev_input_device_data (fd=19, mask=1, data=0xa1ca

[PATCH 1/2] evdev: use mtdev for multitouch devices

2012-03-14 Thread Tiago Vignatti
mtdev library translates all multitouch based devices to the slotted evdev protocol. It provides an uniform interface for Weston, which eases mt implementation when dealing with a big variety of devices. Weston on drm now directly depends on such library. Signed-off-by: Tiago Vignatti --- FYI,

Re: Build problems on Ubuntu Natty (11.04)

2012-03-14 Thread Bill Spitzak
On 03/14/2012 12:56 AM, Pekka Paalanen wrote: The display is still black with a tiny icon in the corner. Clicking the icon produces: failed to create display: Permission denied failed to create display: Permission denied child 8578 exited Did you install weston as setuid? Are the socket file

Re: Build problems on Ubuntu Natty (11.04)

2012-03-14 Thread Pekka Paalanen
On Wed, 14 Mar 2012 08:23:45 -0700 Bill Spitzak wrote: > On 03/14/2012 12:56 AM, Pekka Paalanen wrote: > > >> The display is still black with a tiny icon in the corner. > >> Clicking the icon produces: > >> > >> failed to create display: Permission denied > >> failed to create display: Permissio

Re: Updated Ubuntu build script

2012-03-14 Thread Bill Spitzak
My errors went away after I did a "git clean -x -f -d" in all the git directories, and deleted the entire old ~/install directory. The result is pretty much what I had before, weston runs but no clients run, they all say "failed to create display: Permission denied" So your script worked for

Re: Build problems on Ubuntu Natty (11.04)

2012-03-14 Thread Bill Spitzak
On 03/14/2012 12:56 AM, Pekka Paalanen wrote: The display is still black with a tiny icon in the corner. Clicking the icon produces: failed to create display: Permission denied failed to create display: Permission denied child 8578 exited Did you install weston as setuid? Are the socket file

Re: Updated Ubuntu build script

2012-03-14 Thread Bill Spitzak
On 03/13/2012 10:42 PM, dar...@chaosreigns.com wrote: http://www.chaosreigns.com/wayland/buildscript/ http://www.chaosreigns.com/wayland/buildscript/wayland-build-ubuntu-oneric.sh This builds and runs wayland / most of the demos, and its dependencies, from git. It should work on any linux distr

[PATCH] test: add a unit test for the event loop post dispatch check

2012-03-14 Thread Ander Conselvan de Oliveira
--- Figured that now that we have unit tests, I should write a test that fails without the previous patch and passes with it. tests/Makefile.am |7 - tests/event-loop-test.c | 53 +++ 2 files changed, 58 insertions(+), 2 deletions(-) c

Re: Build problems on Ubuntu Natty (11.04)

2012-03-14 Thread Pekka Paalanen
On Tue, 13 Mar 2012 13:58:40 -0700 Bill Spitzak wrote: > On 03/13/2012 11:38 AM, Pekka Paalanen wrote: > > > The patch looks just what I intended, sans compositor-drm.c (if > > you ever want to run it without X). > > There is no EGL_DEPTH_SIZE in compositor-drm.c Oh right, I didn't realise usi

[PATCH] shell: Fix crash when mapping a transient surface.

2012-03-14 Thread zhiwen . wu
From: Alex Wu Not set parent in set_transient. --- src/shell.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/shell.c b/src/shell.c index 765b0a4..bf40b79 100644 --- a/src/shell.c +++ b/src/shell.c @@ -448,6 +448,7 @@ shell_surface_set_transient(struct wl_client *cl