Re: [PATCH synaptics] Limit the movement to 20 mm per event

2014-09-16 Thread Hans de Goede
Hi, On 09/16/2014 03:08 AM, Peter Hutterer wrote: Touchpads are limited by a fixed sampling rate (usually 80Hz). Some finger changes may happen too fast for this sampling rate, resulting in two distinct event sequences: * finger 1 up and finger 2 down in the same EV_SYN frame. Synaptics sees

Xephyr/alternatives and touchscreen

2014-09-16 Thread Daniel J Blueman
Has anyone had any success with Xephyr and touch input devices? From what I see with strace -e open, when starting Xephyr, it doesn't load any X config files, so we only have the -mouse and -keybd arguments to specify input devices, right? If not, are there any alternatives for using touchscreen

Re: [PATCH] glx: Disable indirect GLX contexts by default.

2014-09-16 Thread Jon TURNEY
On 04/09/2014 18:59, Eric Anholt wrote: Almost every situation of someone running indirect GLX is a mistake that results in X Server crashes. Indirect GLX is the cause of regular security vulnerabilities, and rarely provides any capability to the user. Just disable it unless someone wants to

Re: [PATCH] ephyr: Properly implement hardware cursors (v2)

2014-09-16 Thread Adam Jackson
On Thu, 2014-09-11 at 18:13 -0700, Keith Packard wrote: Adam Jackson a...@redhat.com writes: +cursor_pxm = xcb_generate_id(HostX.conn); +xcb_create_pixmap(HostX.conn, 1, cursor_pxm, HostX.winroot, 1, 1); +HostX.empty_cursor = xcb_generate_id(HostX.conn); +

[PATCH] ephyr: Properly implement hardware cursors (v3)

2014-09-16 Thread Adam Jackson
When dix hands us a new cursor we proxy it through to the host server; since we keep the host XID on the cursor bits private we can switch among them with just ChangeWindowAttributes. v2: Use xcb-renderutil for argb format lookup (Uli, Keith) Fall back to core cursors for host RENDER 0.5 (Keith)

Re: [PATCH] present: Support PresentOptionCopy

2014-09-16 Thread Adam Jackson
On Wed, 2014-09-10 at 14:02 -0700, Keith Packard wrote: We added this option to the present protocol before 1.0 but somehow never implemented it in the server. It's pretty simple; just don't ever do flips if the application specifies Copy. Reviewed-by: Adam Jackson a...@redhat.com - ajax

Re: [PATCH] present: Clear pending flip pixmaps at CloseScreen

2014-09-16 Thread Adam Jackson
On Wed, 2014-09-10 at 14:01 -0700, Keith Packard wrote: If a flip is active at server reset time, the associated window will get destroyed which will queue an unflip operation. If that isn't synchronous, then it won't have finished by the time CloseScreen is called. Calling

Re: [PATCH 5/5] glamor: Check large pixmap users in glamor_largepixmap.c

2014-09-16 Thread Adam Jackson
On Tue, 2014-08-19 at 13:00 -0700, Keith Packard wrote: This enables the assertion that all users of the large pixmap member are restricted to pixmaps which are actually large. Signed-off-by: Keith Packard kei...@keithp.com Series is: Reviewed-by: Adam Jackson a...@redhat.com - ajax

Re: [PATCH] Build required portions of registry.c automatically [v2]

2014-09-16 Thread Adam Jackson
On Mon, 2014-09-15 at 09:18 -0700, Keith Packard wrote: Instead of making the inclusion of the registry code a global conditional, split the registry into two pieces; the bits required by the X-Resource extension (the resource names) and the bits required by the XCSECURITY extension (the

Re: Can't hook into the Double Buffer extension.

2014-09-16 Thread Adam Jackson
On Fri, 2014-09-12 at 14:59 -0400, Stirling Westrup wrote: I am writing a video driver for which I'd like to support the Double Buffer Extension. However I need to hook some of the calling functions described xorg/dbestruct.h, especially 'AllocateBackBuffer' and 'SwapBuffers'. You found an

Re: [PATCH 0/6] glamor: synchronize Xv display to vblank

2014-09-16 Thread Adam Jackson
On Wed, 2014-08-06 at 22:21 -0700, Keith Packard wrote: This series creates a new API within the Present code that provides vblank-synchronized callbacks using the Present driver interfaces and then uses that new interface to delay Xv put image until vblank occurrs. This synchronization is

[PATCH synaptics] Use ABS_MT events for the palm detection when supported

2014-09-16 Thread Gabriele Mazzotta
Use ABS_MT_TOUCH_MAJOR and ABS_MT_PRESSURE instead of ABS_TOOL_WIDTH and ABS_PRESSURE when supported so that the pressure and the width of all the fingers is taken into account for the palm detection. This also fixes the palm detection for those touchpads for which the kernel only sends

Re: [PATCH 4/6] present: Create an internal server API to perform operations at vblank time

2014-09-16 Thread Keith Packard
Mark Marshall markmarshal...@gmail.com writes: Hi. present_vblank_screen_close doesn't seem to get called from anywhere? Is there some magic that I am missing? I added this to the patch series at some point, but failed to mark the commit with a [v2] indication. Thanks for catching this! --

Re: [PATCH 0/6] glamor: synchronize Xv display to vblank

2014-09-16 Thread Keith Packard
Adam Jackson a...@nwnk.net writes: Likewise. Though it'd be nice if the init/fini model in 4 was made more obvious (as per Mark Marshall's comments), see below... I think it's fine at this point; present_screen_init calls present_vblank_screen_init, and present_close_screen calls

Re: [PATCH synaptics] Use ABS_MT events for the palm detection when supported

2014-09-16 Thread Peter Hutterer
On Tue, Sep 16, 2014 at 05:20:15PM +0200, Gabriele Mazzotta wrote: Use ABS_MT_TOUCH_MAJOR and ABS_MT_PRESSURE instead of ABS_TOOL_WIDTH and ABS_PRESSURE when supported so that the pressure and the width of all the fingers is taken into account for the palm detection. This also fixes the palm

[PATCH] xwayland: always include drm.xml in tarballs

2014-09-16 Thread Julien Cristau
Move drm.xml out of the automake conditional so make dist includes it even if glamor-egl is disabled. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=83960 Signed-off-by: Julien Cristau jcris...@debian.org --- hw/xwayland/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2