Re: [PATCH weston] window: allow changing cursor theme and size

2012-05-14 Thread Pekka Paalanen
On Mon, 14 May 2012 14:39:39 -0400 Kristian Høgsberg wrote: > On Mon, May 14, 2012 at 9:59 AM, Kristian Høgsberg > wrote: > > On Mon, May 14, 2012 at 02:01:50PM +0300, Pekka Paalanen wrote: > >> Toytoolkit clients will now use two new environment variables: > >> > >> TOYTOOLKIT_CURSOR_THEME=the

Re: [PATCH] simple-shm: Handle ping event.

2012-05-14 Thread Scott Moreau
On Mon, May 14, 2012 at 7:43 AM, Kristian Høgsberg wrote: > On Sat, May 12, 2012 at 11:57:42AM -0600, Scott Moreau wrote: > > Since simple-shm does not use toytoolkit, it needs to respond to ping > events so it is not deemed unresponsive. > > Thanks, applied. Can we do this for simple-egl too? >

[PATCH wayland] Add missing alt attributes in publican docs.

2012-05-14 Thread Darxus
Haven't figured out how to regenerate the html, so it's not tested. Looks like remaining html errors will be fixed in the next publican release: https://bugzilla.redhat.com/show_bug.cgi?id=788576 --- doc/Wayland/en_US/Architecture.xml | 10 ++ doc/Wayland/en_US/Book_Info.xml|5

Re: [PATCH] simple-shm: Handle ping event.

2012-05-14 Thread Scott Moreau
On Mon, May 14, 2012 at 7:43 AM, Kristian Høgsberg wrote: > On Sat, May 12, 2012 at 11:57:42AM -0600, Scott Moreau wrote: > > Since simple-shm does not use toytoolkit, it needs to respond to ping > events so it is not deemed unresponsive. > > Thanks, applied. Can we do this for simple-egl too? >

Re: [PATCH weston] window: allow changing cursor theme and size

2012-05-14 Thread Kristian Høgsberg
On Mon, May 14, 2012 at 9:59 AM, Kristian Høgsberg wrote: > On Mon, May 14, 2012 at 02:01:50PM +0300, Pekka Paalanen wrote: >> Toytoolkit clients will now use two new environment variables: >> >> TOYTOOLKIT_CURSOR_THEME=theme >> TOYTOOLKTI_CURSOR_SIZE=size >> >> where 'theme' can be e.g. whiteglas

[PATCH weston v2] toytoolkit: Recalculate input region if client has modified it's size.

2012-05-14 Thread Scott Moreau
If a client changes it's width/height values in it's widget resize handler, the input region will be wrong because of the assumptions toytoolkit makes in frame_resize_handler(). So far, gears is the only client that does this. --- Move the input region code instead of duplicate it. Also reuse widt

Re: [PATCH weston 4/5] evdev: Improve touchpad support and add motion filters

2012-05-14 Thread Chase Douglas
On 05/09/2012 02:31 PM, Jonas Ådahl wrote: > Touchpad related code has been rewritten and moved to its own file > accessed by evdev via the dispatch interface. > > The various functionality implemented are anti-flicker (don't jumping > around), smoother motions, touch detection, pointer accelerati

[PATCH xserver v6] xwayland-input: Track wayland protocol changes.

2012-05-14 Thread Scott Moreau
Use wl_fixed_t types in the motion and enter handlers so xwayland clients get the correct x/y values. Without this, all pointer input is broken. Thanks to Martin Minarik for bisecting to track down the initial problem. --- Changed wl_fixed_to_int instead of wl_fixed_to_float since the xserver does

RE: [PATCH v2, rebase] wayland: Add --with-tests-environment option to configure

2012-05-14 Thread Eoff, Ullysses A
>-Original Message- >From: hoegsb...@gmail.com [mailto:hoegsb...@gmail.com] On Behalf Of >Kristian Høgsberg >Sent: Monday, May 14, 2012 8:55 AM >To: Eoff, Ullysses A >Cc: wayland-devel@lists.freedesktop.org >Subject: Re: [PATCH v2, rebase] wayland: Add --with-tests-environment >option to co

Re: [PATCH v2, rebase] wayland: Add --with-tests-environment option to configure

2012-05-14 Thread Kristian Høgsberg
On Mon, May 14, 2012 at 11:41 AM, U. Artie Eoff wrote: > From: "U. Artie Eoff" > > The --with-tests-environment allows one to specify a custom tests > environment script.  This is useful for customizing and/or > normalizing test result output to whatever format necessary > (e.g. xml). I just rea

[PATCH v2, rebase] wayland: Add --with-tests-environment option to configure

2012-05-14 Thread U. Artie Eoff
From: "U. Artie Eoff" The --with-tests-environment allows one to specify a custom tests environment script. This is useful for customizing and/or normalizing test result output to whatever format necessary (e.g. xml). Signed-off-by: U. Artie Eoff --- configure.ac |7 +++ tests/Ma

Re: [PATCH weston] window: fix missed xkb API adaptation

2012-05-14 Thread Kristian Høgsberg
On Mon, May 14, 2012 at 04:21:06PM +0300, Pekka Paalanen wrote: > Oddly enough, this failed to build on Android, but not otherwise. Oops, thanks. Kristian > Signed-off-by: Pekka Paalanen > --- > clients/window.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/cli

Re: [PATCH weston] window: allow changing cursor theme and size

2012-05-14 Thread Kristian Høgsberg
On Mon, May 14, 2012 at 02:01:50PM +0300, Pekka Paalanen wrote: > Toytoolkit clients will now use two new environment variables: > > TOYTOOLKIT_CURSOR_THEME=theme > TOYTOOLKTI_CURSOR_SIZE=size > > where 'theme' can be e.g. whiteglass if you have the basic X.Org cursor > themes installed. 'size' i

Re: [PATCH] toytoolkit: Recalculate input region if client has modified it's size.

2012-05-14 Thread Kristian Høgsberg
On Mon, May 14, 2012 at 01:19:34AM -0600, Scott Moreau wrote: > If a client changes it's width/height values in it's widget resize handler, > the input region will be wrong because of the assumptions toytoolkit makes > in frame_resize_handler(). So far, gears is the only client that does this. Ah,

Re: [PATCH weston] shell: Another NULL check.

2012-05-14 Thread Kristian Høgsberg
On Sun, May 13, 2012 at 12:50:24AM -0600, Scott Moreau wrote: When does this happen? If this function is called, there should always be a shell surface... Kristian > --- > src/shell.c |7 ++- > 1 files changed, 6 insertions(+), 1 deletions(-) > > diff --git a/src/shell.c b/src/shell.c

Re: [PATCH weston] compositor: Bail out if prev is NULL in clip_pointer_motion()

2012-05-14 Thread Kristian Høgsberg
On Sun, May 13, 2012 at 12:45:12AM -0600, Scott Moreau wrote: > We can hit this case if both the preceding calls to > pixman_region32_contains_point() return false. When would this happen? Monitor hot-unplug? If the cursor can get outside any output except hot-unplug, we need to fix that, not pa

Re: [PATCH] simple-shm: Handle ping event.

2012-05-14 Thread Kristian Høgsberg
On Sat, May 12, 2012 at 11:57:42AM -0600, Scott Moreau wrote: > Since simple-shm does not use toytoolkit, it needs to respond to ping events > so it is not deemed unresponsive. Thanks, applied. Can we do this for simple-egl too? > --- > clients/simple-shm.c | 28

Re: [PATCH xserver v5] xwayland-input: Track wayland protocol changes.

2012-05-14 Thread Kristian Høgsberg
On Sun, May 13, 2012 at 10:43:46AM -0600, Scott Moreau wrote: > Use wl_fixed_t types in the motion and enter handlers > so xwayland clients get the correct x/y values. Without > this, all pointer input is broken. Thanks to Martin Minarik > for bisecting to track down the initial problem. > --- > >

[PATCH weston] window: fix missed xkb API adaptation

2012-05-14 Thread Pekka Paalanen
Oddly enough, this failed to build on Android, but not otherwise. Signed-off-by: Pekka Paalanen --- clients/window.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/clients/window.c b/clients/window.c index 63e57f7..8560e7d 100644 --- a/clients/window.c +++ b/clients/wi

Re: [PATCH weston] window: allow changing cursor theme and size

2012-05-14 Thread Pekka Paalanen
On Mon, 14 May 2012 14:01:50 +0300 Pekka Paalanen wrote: > Toytoolkit clients will now use two new environment variables: > > TOYTOOLKIT_CURSOR_THEME=theme > TOYTOOLKTI_CURSOR_SIZE=size > > where 'theme' can be e.g. whiteglass if you have the basic X.Org cursor > themes installed. 'size' is a c

[PATCH weston] window: allow changing cursor theme and size

2012-05-14 Thread Pekka Paalanen
Toytoolkit clients will now use two new environment variables: TOYTOOLKIT_CURSOR_THEME=theme TOYTOOLKTI_CURSOR_SIZE=size where 'theme' can be e.g. whiteglass if you have the basic X.Org cursor themes installed. 'size' is a cursor size hint 4-64, by default 32. See the Xcursor man page for how cu

[PATCH] toytoolkit: Recalculate input region if client has modified it's size.

2012-05-14 Thread Scott Moreau
If a client changes it's width/height values in it's widget resize handler, the input region will be wrong because of the assumptions toytoolkit makes in frame_resize_handler(). So far, gears is the only client that does this. --- clients/window.c | 19 --- 1 files changed, 16 in