Re: [PATCH evdev] add button debouncing

2012-08-23 Thread Peter Hutterer
Hi Matt, sorry about the delay, bit swamped here. On Mon, Aug 13, 2012 at 05:47:12PM -0400, Matt Whitlock wrote: This patch adds one configuration option, DebounceDelay, and one XInput property, Evdev Debounce Delay. They refer to the amount of time to wait after receiving a mouse button

Re: [PATCH evdev] add button debouncing

2012-08-23 Thread Daniel Stone
Hi, On 23 August 2012 08:40, Peter Hutterer peter.hutte...@who-t.net wrote: On Mon, Aug 13, 2012 at 05:47:12PM -0400, Matt Whitlock wrote: This patch adds one configuration option, DebounceDelay, and one XInput property, Evdev Debounce Delay. They refer to the amount of time to wait after

[PATCH lib/libxtrans] If Socket is getting interrupted with signal EINTR, after re attempts we are closing socket connection, which is wrong.

2012-08-23 Thread Arvind Umrao
Code changes are integrated in Solaris and now I am trying to give back to community. If Socket is getting interrupted with signal EINTR, we should keep socket in progress state(TRANS_IN_PROGRESS) instead of trying again to connect(TRANS_TRY_CONNECT_AGAIN). When we close the socket connection

[PATCH lib/libXfont] If Socket is getting interrupted with signal EINTR, after re attempts we are closing socket connection, which is wrong.

2012-08-23 Thread Arvind Umrao
Code changes are integrated in Solaris and now I am trying to give back to community. If Socket is getting interrupted with signal EINTR, we should keep socket in progress state. I have borrowed following code from Socket Write _fs_flush():line274 . I have done exactly same at _fs_fill ().

[PATCH app/xfs] Revert of ac59cccf8bc1ae3d41e0608f131b5eb888f9362b

2012-08-23 Thread Arvind Umrao
xfs service will go to maintenance status after running fsinfo. NULL is passed to socket layer causing crash. It was missed that it also gets passed to ReopenCOTSServer which attempts to strdup the port string without checking if it's null. This thus appears to be broken both in our code and

Re: [PATCH lib/libxtrans] If Socket is getting interrupted with signal EINTR, after re attempts we are closing socket connection, which is wrong.

2012-08-23 Thread Mark Kettenis
From: Arvind Umrao arvind.um...@oracle.com Date: Thu, 23 Aug 2012 16:07:39 +0530 Code changes are integrated in Solaris and now I am trying to give back to community. If Socket is getting interrupted with signal EINTR, we should keep socket in progress state(TRANS_IN_PROGRESS) instead of

Re: [PATCH evdev] add button debouncing

2012-08-23 Thread Matt Whitlock
(Sorry. Sent from the wrong account. Resending...) On Thursday, 23 August 2012, at 10:58 am, Daniel Stone wrote: On 23 August 2012 08:40, Peter Hutterer peter.hutte...@who-t.net wrote: On Mon, Aug 13, 2012 at 05:47:12PM -0400, Matt Whitlock wrote: This patch adds one configuration option,

Re: [PATCH evdev] add button debouncing

2012-08-23 Thread Michal Suchanek
On 23 August 2012 15:14, Matt Whitlock freedesk...@mattwhitlock.name wrote: I have an expensive wireless laser mouse. The battery is still in great condition, but the buttons are wearing out due to heavy use. Why should I buy a new mouse when I can easily correct for the hardware in

[PATCH:xrdb] Add a command line flag -cppargs which allows passing arguments to cpp (while still complying with the access(2) check for the cpp executable).

2012-08-23 Thread Thomas Klausner
See thread starting at http://mail-index.netbsd.org/tech-x11/2009/12/01/msg000687.html --- man/xrdb.man | 4 xrdb.c | 27 +++ 2 files changed, 27 insertions(+), 4 deletions(-) diff --git a/man/xrdb.man b/man/xrdb.man index e30b0d5..d024210 100644 ---

New keyboard config files for some Sharp hardware

2012-08-23 Thread Thomas Klausner
Keyboard config files for 5 Sharp machines, from Nonaka Kimihiro non...@netbsd.org. ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel

[PATCH:xkeyboard-config 1/4] Added keyboard config files for Sharp Zaurus SL-C3x00.

2012-08-23 Thread Thomas Klausner
From: Nonaka Kimihiro non...@netbsd.org --- symbols/sharp_vndr/sl-c3x00 | 74 + 1 file changed, 74 insertions(+) create mode 100644 symbols/sharp_vndr/sl-c3x00 diff --git a/symbols/sharp_vndr/sl-c3x00 b/symbols/sharp_vndr/sl-c3x00 new file mode

[PATCH:xkeyboard-config 3/4] Added keyboard config files for Sharp WS011SH/WS020SH.

2012-08-23 Thread Thomas Klausner
From: Nonaka Kimihiro non...@netbsd.org --- symbols/sharp_vndr/ws011sh | 78 ++ symbols/sharp_vndr/ws020sh | 67 +++ 2 files changed, 145 insertions(+) create mode 100644 symbols/sharp_vndr/ws011sh create mode

[PATCH:xkeyboard-config 2/4] Added keyboard config files for Sharp WS003SH/WS007SH.

2012-08-23 Thread Thomas Klausner
From: Nonaka Kimihiro non...@netbsd.org --- symbols/sharp_vndr/ws003sh | 73 ++ symbols/sharp_vndr/ws007sh | 73 ++ 2 files changed, 146 insertions(+) create mode 100644 symbols/sharp_vndr/ws003sh create

[PATCH:xkeyboard-config 4/4] Hook new Sharp keyboard config files into the build.

2012-08-23 Thread Thomas Klausner
From: Nonaka Kimihiro non...@netbsd.org --- configure.in | 1 + rules/base.ml_s.part | 5 + symbols/sharp_vndr/Makefile.am | 8 3 files changed, 14 insertions(+) create mode 100644 symbols/sharp_vndr/Makefile.am diff --git a/configure.in b/configure.in

xwininfo: const in iconv

2012-08-23 Thread Thomas Klausner
When compiling xwininfo on NetBSD, I get: xwininfo.c:1912:6: warning: passing argument 2 of 'iconv' from incompatible pointer type /usr/include/iconv.h:46:8: note: expected 'const char ** restrict' but argument is of type 'char **' In NetBSD's xsrc we use the attached patch to fix this. I

Re: New keyboard config files for some Sharp hardware

2012-08-23 Thread Alan Coopersmith
On 08/23/12 08:00 AM, Thomas Klausner wrote: Keyboard config files for 5 Sharp machines, from Nonaka Kimihiro non...@netbsd.org. xkeyboard-config has it's own mailing list for patch submission: http://www.freedesktop.org/wiki/Software/XKeyboardConfig/Development -- -Alan Coopersmith-

Re: [PATCH] mi: drop two useless conditions in miPointerSetPosition

2012-08-23 Thread Keith Packard
Peter Hutterer peter.hutte...@who-t.net writes: pDev cannot be NULL here since fill_pointer_events is the only caller. And if the screen is NULL, then the device tries to send events before it is fully initialised. That certainly shouldn't happen and would be a bug elsewhere. Looks good.

[XDC 2012] Conference Update #2

2012-08-23 Thread Egbert Eich
We are a little less than one month into XDC 2012 so here's some update: Registration: - So far we have 32 registered participants - which is pretty good. If you plan to come and haven't added yourself to the participants list at http://wiki.x.org/wiki/Events/XDC2012/Attendees,

Re: [PATCH app/xfs] Revert of ac59cccf8bc1ae3d41e0608f131b5eb888f9362b

2012-08-23 Thread Alan Coopersmith
On 08/23/12 04:25 AM, Arvind Umrao wrote: xfs service will go to maintenance status after running fsinfo. NULL is passed to socket layer causing crash. It was missed that it also gets passed to ReopenCOTSServer which attempts to strdup the port string without checking if it's null. This

Re: An attempt at fixing a bug involving DGA and mouse buttons

2012-08-23 Thread Peter Hutterer
Hi Steven, Thanks for the analysis, very helpful. On Sat, Aug 18, 2012 at 08:46:01PM -0500, Steven Elliott wrote: I'd like to describe a bug I've encountered involving mouse events and DGA as well as my attempt at fixing it. Hopefully either my patch is acceptable, or people will have ideas

[PATCH] xf86/crtc: don't free config-name

2012-08-23 Thread Dave Airlie
From: Dave Airlie airl...@redhat.com This is set by pre_init not screen init, so if we free it here and then recycle the server, we lose all the providers. I think we need to wrap FreeScreen here to do this properly, will investigate for 1.14 most likely, safer to just leak this on server exit

[PATCH] dix: free default colormap before screen deletion

2012-08-23 Thread Dave Airlie
From: Dave Airlie airl...@redhat.com If we don't free this here, it gets freed later in the resource cleanups, however it then looks up up pmap-pScreen, which we freed already in this function. So free the default colormap when we should. This fixes a bug after a couple of hotplug cycles when

[PATCH app/xconsole] Open /dev/console with NOCTTY and O_NONBLOCK flags

2012-08-23 Thread Arvind Umrao
In some cases, for SPARC servers, special files like fifo need to open in nonblocking mode otherwise whole xconsole GUI freezes. Also /dev/console is often a terminal device. So I am opening /dev/console with NOCTTY and O_NONBLOCK flags. Signed-off-by: Arvind Umrao arvind.um...@oracle.com ---