Re: [ANNOUNCE] libevdev - a library to wrap the evdev kernel interface

2013-06-28 Thread Peter Hutterer
On Thu, Jun 27, 2013 at 01:06:24PM -0400, Todd Showalter wrote: > On Thu, Jun 27, 2013 at 12:52 AM, Peter Hutterer > wrote: > > > For the last month or so I've been spending some time on a helper library > > for evdev devices. > > Looks nice! > > I assume this doesn't abstract away the

Re: [PATCH wayland 2/3] Add version information to wl_message signatures.

2013-06-28 Thread Bill Spitzak
Jason Ekstrand wrote: while a more modern compositor implementation would look like this: wl_foo_interface foo_implementation = { set_bar, set_twiddle }; As it stands, libwayland does not checking of requests beyond a simple check to see request n is devined in the wl_interface object

[PATCH weston] Change to the new wl_resource_set_implementation API

2013-06-28 Thread Jason Ekstrand
Signed-off-by: Jason Ekstrand --- src/compositor.c| 56 +-- src/data-device.c | 32 ++--- src/input.c | 20 src/screenshooter.c | 8 --- src/shell.c | 64 ++

[PATCH wayland] Break resource creation into two functions.

2013-06-28 Thread Jason Ekstrand
This commit changes the resource createion/setup API to be more like wl_proxy. Instead of having one master function that does everything except setup the destructor it is broken into two more balanced functions. First, the wl_client_add/new_versioned_object function sets up all of the immutable b

Re: [PATCH wayland 2/3] Add version information to wl_message signatures.

2013-06-28 Thread Jason Ekstrand
On Thu, Jun 27, 2013 at 8:31 PM, Bill Spitzak wrote: > Jason Ekstrand wrote: > > That is exactly what this patch allows you to do. More particularly, >> this patch protects the compositor from bad clients that attempt to use >> requests that are not supported by the compositor. In the current

xserver problems

2013-06-28 Thread Bill Spitzak
For the last 2 months running x applications under wayland is producing black windows, but if you resize them you get screwed up window borders (in attached picture). It also appears that the image does not update until the event *after* the one that caused the window to change. For instance i

[PATCH] xserver: use xwayland.conf instead of xorg.conf

2013-06-28 Thread spitzak
From: spitzak This allows X applications to be run on wayland without having to delete conf files needed to run the legacy X server on the same machine. In particular this is necessary to test xwayland in the x11 compositor. Since there is already a --wayland switch I think it is ok for this to

Re: [PATCH] xwayland: modify Makefile.am to clean up BUILD_SOURCES

2013-06-28 Thread Kristian Høgsberg
On Thu, Jun 27, 2013 at 08:45:07AM +0800, zhiwen...@linux.intel.com wrote: > From: Alex Wu Thanks, applied. Kristian > --- > src/xwayland/Makefile.am |2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/src/xwayland/Makefile.am b/src/xwayland/Makefile.am > index 3a26cbd..82ad53d 1006

[PATCH weston] editor: Fix segfault when deleting the first character

2013-06-28 Thread Daiki Ueno
--- clients/editor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/editor.c b/clients/editor.c index d4e4e92..3fb645b 100644 --- a/clients/editor.c +++ b/clients/editor.c @@ -380,11 +380,11 @@ text_input_keysym(void *data, text_entry_commit_and_re