[PATCH 3/3 v2] Send surface enter/leave events

2012-04-19 Thread cdahlin
From: Casey Dahlin These new protocol events allow us to tell which outputs a surface is on, and potentially update where we allocate our buffers from. Signed-off-by: Casey Dahlin --- src/compositor.c | 69 +- src/compositor.h |7 +

[PATCH 2/3] Add an id field to outputs

2012-04-19 Thread cdahlin
From: Casey Dahlin All outputs now have a unique integer ID, allocated from a bitfield pool in the compositor. Signed-off-by: Casey Dahlin --- src/compositor.c | 15 +++ src/compositor.h |4 2 files changed, 19 insertions(+), 0 deletions(-) diff --git a/src/compositor.c

[PATCH 1/3] Change find_resource_for_surface to find_resource_for_client

2012-04-19 Thread cdahlin
From: Casey Dahlin This function has generic applications and should be made generic. Signed-off-by: Casey Dahlin --- src/compositor.c | 35 --- 1 files changed, 16 insertions(+), 19 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index 17daac4.

Re: GTK Ubuntu Precise packaging success

2012-04-19 Thread darxus
On 04/19, Rune Kjær Svendsen wrote: > Regarding the Super+Alt combinations (window rotate, zoom, resize) is > that not in weston 0.85 either? Cause it's not working. Yes, that's not in 0.85 either: http://www.chaosreigns.com/wayland/weston/ -- "Let's just say that if complete and utter chaos wa

Re: GTK Ubuntu Precise packaging success

2012-04-19 Thread Rune Kjær Svendsen
2012/4/19 > > On 04/19, Rune Kjær Svendsen wrote: > >    I can get it to start in a VT when setuid is set, but then launching apps > >    doesn't work. I get "Error opening file for reading: Permission denied" > >    (right after listing the path of the socket). > >    If I turn off the setuid the

Re: GTK Ubuntu Precise packaging success

2012-04-19 Thread darxus
On 04/19, Rune Kjær Svendsen wrote: >I can get it to start in a VT when setuid is set, but then launching apps >doesn't work. I get "Error opening file for reading: Permission denied" >(right after listing the path of the socket). >If I turn off the setuid the mouse doesn't work whe

Re: GTK Ubuntu Precise packaging success

2012-04-19 Thread Rune Kjær Svendsen
Ok. Figured out a couple of things: 1. The aforementioned system-wide setting allegedly turning off fancy scrollbars doesn't work 2. When setuid is enabled for /usr/bin/weston it apparently can't read the file it creates in /tmp So it's working now when I turn off setuid. In a window running

Re: [PATCH] compositor-drm: Remove an useless code line.

2012-04-19 Thread Kristian Hoegsberg
On Thu, Apr 19, 2012 at 10:08:59AM +0800, zhiwen...@linux.intel.com wrote: > From: Alex Wu Oh yeah, that one is hard to get to. Kristian > --- > src/compositor-drm.c |1 - > 1 files changed, 0 insertions(+), 1 deletions(-) > > diff --git a/src/compositor-drm.c b/src/compositor-drm.c > ind

Re: GTK Ubuntu Precise packaging success

2012-04-19 Thread Rune Kjær Svendsen
Thanks for the tip. I originally added the line to the file /etc/skel/.bashrc which is what the .bashrc file in the /home/ubuntu directory is created from on the live CD. So the line is present in ~/.bashrc as soon as .bashrc is present in the /home/ubuntu folder on the live CD. I just tried addin

Re: GTK Ubuntu Precise packaging success

2012-04-19 Thread darxus
On 04/19, Rune Kjær Svendsen wrote: >I'm trying it out on a live CD now that I've created with the script I'm >attaching to this message. >For some reason it's not working. Here are the messages I'm getting >running the programs you've listed in the order you listed them: >[1]ht

Re: GTK Ubuntu Precise packaging success

2012-04-19 Thread Rune Kjær Svendsen
I'm trying it out on a live CD now that I've created with the script I'm attaching to this message. For some reason it's not working. Here are the messages I'm getting running the programs you've listed in the order you listed them: http://pastebin.com/xtaKP8nz weston says the following: http://pas

Re: [PULL wayland] Sanity tests

2012-04-19 Thread Kristian Høgsberg
On Thu, Apr 19, 2012 at 8:06 AM, Pekka Paalanen wrote: > Hi, > > I poked around in tests, and added support for tests that are supposed > to fail. Then I wrote some tests that check that the testing framework > does indeed work: a plain assert, and malloc leaks. > > There are also some stylistic c

Wayland client library thread safety

2012-04-19 Thread Arnaud Vrac
Hello everyone, I am hitting a bug when using Qt5 and wayland on an embedded platform, for which I have written a custom EGL backend. The problem is that Qt5 (QtQuick2 actually) renders in a separate thread, when the wayland display has been created in the main thread. I know there is a patch for

[PULL wayland] Sanity tests

2012-04-19 Thread Pekka Paalanen
Hi, I poked around in tests, and added support for tests that are supposed to fail. Then I wrote some tests that check that the testing framework does indeed work: a plain assert, and malloc leaks. There are also some stylistic changes that can be dropped if you don't like them. The following c