[PATCH xserver] inputthread: leave the main thread's name as-is

2016-10-17 Thread Peter Hutterer
On Linux, setting the main thread's name changes the program name (/proc/self/comm). Setting it to MainThread breaks scripts that rely on the command name, e.g. ps -C Xorg. Signed-off-by: Peter Hutterer --- os/inputthread.c | 6 -- 1 file changed, 6 deletions(-)

Re: [PATCH:xserver] Use pthread_setname_np to set thread names if available

2016-10-17 Thread Jeremy Sequoia
Sent from my iPhone... > On Oct 17, 2016, at 18:48, Alan Coopersmith > wrote: > >> On 10/17/16 06:36 PM, Peter Hutterer wrote: >>> On Sat, Sep 10, 2016 at 09:14:19PM -0700, Alan Coopersmith wrote: >>> I have only tested this on Solaris, not MacOS or Linux, but

Re: [PATCH:xserver] Use pthread_setname_np to set thread names if available

2016-10-17 Thread Alan Coopersmith
On 10/17/16 06:36 PM, Peter Hutterer wrote: On Sat, Sep 10, 2016 at 09:14:19PM -0700, Alan Coopersmith wrote: I have only tested this on Solaris, not MacOS or Linux, but since the similar code in glib works on both, hope this will too. this broke a few scripts here, e.g. ps -C Xorg won't

[PATCH xf86-input-libinput] Swap the registered input device on DEVICE_OFF when needed

2016-10-17 Thread Peter Hutterer
If we don't swap out the pInfo previously passed to xf86AddEnabledDevice(), the thread eventually calls read_input on a struct that has been deleted. Avoid this by swapping out the to-be-destroyed pInfo with the first one we find. Reproducer: sudo udevadm trigger --type=devices --action=add

Re: [PATCH:xserver] Use pthread_setname_np to set thread names if available

2016-10-17 Thread Peter Hutterer
On Sat, Sep 10, 2016 at 09:14:19PM -0700, Alan Coopersmith wrote: > Autoconf logic borrowed from glib > > Signed-off-by: Alan Coopersmith > --- > configure.ac| 20 > include/dix-config.h.in | 6 ++ > os/inputthread.c| 12

[PATCH v2] Compose: add rouble currency

2016-10-17 Thread Mihail Konev
v2: fix spelling, commit message, and line order. Sorry for flood. From ae1bf2fbd2c3893366198a80aed8743af656ee88 Mon Sep 17 00:00:00 2001 From: Victor Kustov Date: Mon, 17 Oct 2016 19:44:36 + Subject: [PATCH 1/2] Compose: add rouble currency sequence Signed-off-by: Victor

[PATCH 2/2] Compose: cyrillic ruble sequence

2016-10-17 Thread Mihail Konev
Signed-off-by: Mihail Konev --- nls/en_US.UTF-8/Compose.pre | 4 1 file changed, 4 insertions(+) diff --git a/nls/en_US.UTF-8/Compose.pre b/nls/en_US.UTF-8/Compose.pre index 041ae0f663a0..2c23928a6f2e 100644 --- a/nls/en_US.UTF-8/Compose.pre +++ b/nls/en_US.UTF-8/Compose.pre

[PATCH 1/2] Compose: add ruble currency

2016-10-17 Thread Mihail Konev
From: Victor Kustov Signed-off-by: Victor Kustov Reviewed-by: Mihail Konev --- nls/en_US.UTF-8/Compose.pre | 4 1 file changed, 4 insertions(+) diff --git a/nls/en_US.UTF-8/Compose.pre b/nls/en_US.UTF-8/Compose.pre index

Re: [PATCH xserver] DRI2: Sync radeonsi_pci_ids.h from Mesa

2016-10-17 Thread Alex Deucher
On Mon, Oct 17, 2016 at 5:48 AM, Michel Dänzer wrote: > From: Michel Dänzer > > Fixes DRI2 client driver name mapping for newer AMD GPUs with the > modesetting driver, allowing the DRI2 extension to initialize. > > Signed-off-by: Michel Dänzer

[PATCH xserver] DRI2: Sync radeonsi_pci_ids.h from Mesa

2016-10-17 Thread Michel Dänzer
From: Michel Dänzer Fixes DRI2 client driver name mapping for newer AMD GPUs with the modesetting driver, allowing the DRI2 extension to initialize. Signed-off-by: Michel Dänzer --- hw/xfree86/dri2/pci_ids/radeonsi_pci_ids.h | 12 1

Re: [PATCH v2 libXi 2/2] XListInputDevices: don't touch ndevices in case of error

2016-10-17 Thread Nicolas Boichat
+sadrul On Mon, Oct 17, 2016 at 1:43 PM, Peter Hutterer wrote: > On Fri, Oct 14, 2016 at 02:28:55PM +0100, Emil Velikov wrote: >> On 13 October 2016 at 04:58, Peter Hutterer wrote: >> > We used to always set *ndevices to the number of devices