Re: [PATCH 2/2] touchpad: don't apply tap config until all fingers are up

2015-05-03 Thread Peter Hutterer
On Fri, May 01, 2015 at 10:19:59AM +0200, Hans de Goede wrote: > Hi, > > On 01-05-15 04:48, Peter Hutterer wrote: > >On Thu, Apr 30, 2015 at 10:01:55AM +0200, Hans de Goede wrote: > >>Hi, > >> > >>On 30-04-15 08:00, Peter Hutterer wrote: > >>>If tapping is enabled while at least one finger is down

[PATCH 9/9] presentation-shm: Allow setting of delay before surface.commit

2015-05-03 Thread Mario Kleiner
A new optional parameter "-d msecs" allows to specify a delay before the surface attach/damage/commit to shift the point in time when a surface update is committed. This allows to test how different client timings interact with the compositors repaint timing. Suggested by Pekka Paalanen. Signed-

[PATCH 7/9] compositor-drm: Allow instant start of repaint loop. (v2)

2015-05-03 Thread Mario Kleiner
drm_output_start_repaint_loop() incurred a delay of one refresh cycle by using a no-op page-flip to get an accurate vblank timestamp as reference. This causes unwanted lag whenever Weston exited its repaint loop, e.g., whenever an application wants to repaint with less than full video refresh rate

[PATCH 8/9] compositor: Respect repaint-window when restarting repaint loop.

2015-05-03 Thread Mario Kleiner
If a stopped repaint loop gets restarted due to posting of new damage, and this restart of the repaint loop happens late in the video refresh cycle, ie. already inside the repaint-window and thereby after the composition deadline for the current frame, then defer the actual output repaint to the co

[PATCH 1/9] desktop-shell: Allow multiple active fullscreen windows on multi-display setup.

2015-05-03 Thread Mario Kleiner
Desktop shell demoted all fullscreen shell surfaces on all active outputs of a multi-display setup whenever any shell surface was activated anywhere. This made it impossible to have multiple fullscreen windows on separate outputs active at the same time, as creating or activating any shell surface

[PATCH 2/9] compositor-drm: Fix refresh rate selection in drm_output_switch_mode

2015-05-03 Thread Mario Kleiner
The matching logic in choose_mode() compared refresh rate of a drm_mode candidate mode expressed in Hz against the requested refresh rate of the target weston_mode expressed in milliHz, so the match always failed and the logic always ended up the mode with the highest refresh rate for a given resol

[PATCH 5/9] desktop-shell: Allow fullscreen windows to mode-switch their output.

2015-05-03 Thread Mario Kleiner
Fix desktop-shell's activate() method to only restore the output mode on the single output on which a shell surface gets activated. This way toplevel fullscreen surfaces can mode-switch their output via method WL_SHELL_SURFACE_FULLSCREEN_METHOD_DRIVER and that temporary mode properly persists unti

Updated series of weston patches.

2015-05-03 Thread Mario Kleiner
A resend of my series of patches, now with reviewed-by of Derek Foreman for some of the patches, and the other patches updated to take Derek's and Pekka's feedback and suggestions into account. Numbering of patches is a bit scrambled wrt. the original series. Patches 1, 2 Reviewed by Derek - Thank

[PATCH 6/9] compositor-drm: Handle more than two output crtcs per card

2015-05-03 Thread Mario Kleiner
Allow proper handling of output->pipe > 1 to support triple-head graphics cards etc. by using the "high-crtc" support introduced in Linux 2.6.39 and libdrm 2.4.25 around May 2011. Signed-off-by: Mario Kleiner --- src/compositor-drm.c | 14 -- 1 file changed, 12 insertions(+), 2 delet

[PATCH 4/9] compositor-drm: Allow weston_output_mode_switch_to_native() to work.

2015-05-03 Thread Mario Kleiner
Initialize output->native_mode with the initially chosen mode for an output, so weston_output_mode_switch_to_native() has something to work with and can switch back from temporary selected modes to the outputs native mode. Before, this was a no-op. This allows an output to switch back to its defau

[PATCH 3/9] cms-helper/static: Add "identity" builtin cms profile

2015-05-03 Thread Mario Kleiner
Allows to force loading an identity gamma table if option icc_profile=identity is given in weston.ini for an output. Some special display output devices, e.g., for neuro-science applications, and special display testing hardware need a guaranteed perfect pixel passthrough from framebuffer to outpu

Re: [PATCH weston 17/17] xdg-shell: Bump unstable version to 6

2015-05-03 Thread Jonas Ådahl
On Thu, Apr 30, 2015 at 06:54:34PM +0300, Pekka Paalanen wrote: > On Tue, 7 Apr 2015 17:01:32 +0800 > Jonas Ådahl wrote: > > > Signed-off-by: Jonas Ådahl > > --- > > clients/simple-damage.c | 2 +- > > clients/simple-egl.c| 2 +- > > clients/simple-shm.c| 2 +- > > clients/window.c

[PATCH weston] xwm: Fix the window decoration hints.

2015-05-03 Thread Dima Ryazanov
Enable all hints by default. This fixes the "Maximize" button in apps that don't set any hints - e.g., xclock or Firefox. (There's still a problem, though: "decorate" is sometimes treated as a boolean, sometimes as a bitmask.) Handle MWM_DECOR_ALL correctly. It looks like it's supposed to invert t

[PATCH libinput] touchpad: enable clickfinger by default on chromebooks

2015-05-03 Thread Peter Hutterer
This matches the vendor default. Board IDs pulled from modinfo chromeos_laptop, touchpad names from a bit of googling around. Signed-off-by: Peter Hutterer Tested-by: Benjamin Tissoires --- src/evdev-mt-touchpad-buttons.c| 5 - src/evdev.c| 1 + src/evdev.h