Some of my thoughts on input for wayland

2011-01-23 Thread Chase Douglas
Hi all, I haven't been involved in wayland development at all yet :), but I have been working on XInput 2.1 multitouch additions and gesture work in Ubuntu. I have a few thoughts on how a new input system for wayland might work. To go along with that, I have no idea if these ideas have been discu

Re: [PATCH] Update build instructions

2011-01-23 Thread Kristian Høgsberg
On Sun, Jan 23, 2011 at 7:15 PM, wrote: > --- >  building.html |  129 +++- >  1 files changed, 90 insertions(+), 39 deletions(-) > > diff --git a/building.html b/building.html > index c43bef5..58930e0 100644 > --- a/building.html > +++ b/buildin

[PATCH] Build instructions, add LD_LIBRARY_PATH

2011-01-23 Thread Darxus
--- building.html |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/building.html b/building.html index 58930e0..c41e01e 100644 --- a/building.html +++ b/building.html @@ -168,12 +168,15 @@ protocol: installed in $HOME/install you will need the following environment v

[PATCH] Update build instructions

2011-01-23 Thread Darxus
--- building.html | 129 +++- 1 files changed, 90 insertions(+), 39 deletions(-) diff --git a/building.html b/building.html index c43bef5..58930e0 100644 --- a/building.html +++ b/building.html @@ -8,7 +8,7 @@ - + The instructions belo

Ubuntu build script now also builds pixman / BGRA update

2011-01-23 Thread Darxus
Cairo (git) recently bumped the version of pixman it depends on to something newer than what's in Ubuntu Maverick, so my script is now also building pixman from git: http://www.chaosreigns.com/wayland/ubuntu.html Also, bnf posted another set of (4) patches to the mesa list, which does make wayla

[PATCH 3/3] initialise display

2011-01-23 Thread Tim Wiederhake
fixes valgrind: ==25178== Conditional jump or move depends on uninitialised value(s) ==25178==at 0x409E2C: display_create (window.c:1582) ==25178==by 0x407A43: main (terminal.c:2323) and ==13793== Conditional jump or move depends on uninitialised value(s) ==13793==at 0x40A2D1: display_h

[PATCH 2/3] free option context

2011-01-23 Thread Tim Wiederhake
--- clients/window.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/clients/window.c b/clients/window.c index ac14fd6..2944287 100644 --- a/clients/window.c +++ b/clients/window.c @@ -1641,6 +1641,7 @@ display_create(int *argc, char **argv[], const GOptionEntry *option_e

[PATCH 1/3] remove unused variable

2011-01-23 Thread Tim Wiederhake
--- clients/resizor.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/clients/resizor.c b/clients/resizor.c index dbd0752..0ac02f6 100644 --- a/clients/resizor.c +++ b/clients/resizor.c @@ -152,7 +152,6 @@ key_handler(struct window *window, struct input *input, uint32_t t

Re: [PATCH] compositor/shm: use internalFormat=GL_BGRA_EXT in TexImage2D

2011-01-23 Thread Kristian Høgsberg
On Sat, Jan 22, 2011 at 11:49 AM, Benjamin Franzke wrote: > --- >  compositor/shm.c |    4 ++-- >  1 files changed, 2 insertions(+), 2 deletions(-) Thanks, applied. Kristian > diff --git a/compositor/shm.c b/compositor/shm.c > index 6b96a5b..913833e 100644 > --- a/compositor/shm.c > +++ b/compo

Re: configure options

2011-01-23 Thread Kristian Høgsberg
On Sat, Jan 22, 2011 at 12:39 PM, CSJ wrote: > Hi, > Today I update wayland from git and found that there are some new options > for configure: >   --enable-x11-compositor >   --enable-drm-compositor >   --enable-wayland-compositor > and the git log is > > Make it possible to enable/disable the va

Re: [PATCH] guard enums in generated wayland-*-protocol.h

2011-01-23 Thread Kristian Høgsberg
On Sun, Jan 23, 2011 at 6:21 AM, Tim Wiederhake wrote: > --- >  wayland/scanner.c |    8 +++- >  1 files changed, 7 insertions(+), 1 deletions(-) Yup, that's what I had in mind, thanks. I edited the #define prefix to keep it in the WL_* namespace. thanks, Kristian > diff --git a/wayland/sc

Re: [PATCH] display_iterate: Process only enabled event masks

2011-01-23 Thread Kristian Høgsberg
On Sat, Jan 22, 2011 at 2:41 PM, Benjamin Franzke wrote: > --- >  wayland/wayland-client.c |    4 >  1 files changed, 4 insertions(+), 0 deletions(-) Thanks, applied. I added a warning if we hit this case, as it's not something the user should do. Kristian > diff --git a/wayland/wayland-c

[PATCH] guard enums in generated wayland-*-protocol.h

2011-01-23 Thread Tim Wiederhake
--- wayland/scanner.c |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/wayland/scanner.c b/wayland/scanner.c index 91054b7..b24ee39 100644 --- a/wayland/scanner.c +++ b/wayland/scanner.c @@ -470,13 +470,19 @@ emit_enumerations(struct interface *interface) str