RE: display does not turn off when screen closed

2012-04-19 Thread Jeremy C. Reed
On Wed, 18 Apr 2012, Marty Jack wrote: (Sorry not in thread) The event that happens when the lid closes and opens is reflected in /proc/acpi/button/lid/LID0/state. This is normally watched (via the /dev/event* device) by a power manager. Nothing in Xorg does anything with any of the

[PATCH synaptics] Ensure hw millis are monotonic (#48777)

2012-04-19 Thread Peter Hutterer
The eventcomm backend takes the timestamp from the kernel, but the timer uses the timer's now. This timestamp may be later than the one from the next event we read from the kernel, causing a negative dtime in get_delta() and a cursor jump by (unsigned int)(eventtime - timer_time). Ensure that the

Re: [PULL][master][1.12] Miscellaneous touch fixes

2012-04-19 Thread Peter Hutterer
On Wed, Apr 18, 2012 at 08:54:19PM -0700, Chase Douglas wrote: The following changes since commit 80fefc42f5e67e6b4a4b440d8991bee7e5f38359: Merge remote-tracking branch 'whot/for-keith' (2012-04-15 21:05:30 -0700) are available in the git repository at:

Re: [PATCH] workaround crash on close (X server 1.12)

2012-04-19 Thread Michal Suchanek
Hello, can somebody look at this? The crash hides another bug in radeon which happens on server reset. Thanks Michal On 11 April 2012 15:44, Michal Suchanek hramr...@gmail.com wrote: Hello, the patch to prevent crash on close 55f552adb6517 causes crash on start for some people. This

[PULL] input fixes

2012-04-19 Thread Peter Hutterer
Heaps of multitouch fixes from Chase. The following changes since commit 80fefc42f5e67e6b4a4b440d8991bee7e5f38359: Merge remote-tracking branch 'whot/for-keith' (2012-04-15 21:05:30 -0700) are available in the git repository at: git://people.freedesktop.org/~whot/xserver for-keith for

Re: [PATCH synaptics] Ensure hw millis are monotonic (#48777)

2012-04-19 Thread Chase Douglas
On 04/18/2012 11:46 PM, Peter Hutterer wrote: The eventcomm backend takes the timestamp from the kernel, but the timer uses the timer's now. This timestamp may be later than the one from the next event we read from the kernel, causing a negative dtime in get_delta() and a cursor jump by

Re: [PATCH 1/5] Split out helper function TouchListenerAcceptReject()

2012-04-19 Thread Bryce Harrington
On Wed, Apr 11, 2012 at 11:22:10AM -0700, Chase Douglas wrote: This will be used for accepting and rejecting touches in the future. Signed-off-by: Chase Douglas chase.doug...@canonical.com --- dix/events.c| 11 +--- dix/touch.c | 68

Re: [PATCH 1/5] Split out helper function TouchListenerAcceptReject()

2012-04-19 Thread Chase Douglas
On 04/19/2012 09:38 AM, Bryce Harrington wrote: On Wed, Apr 11, 2012 at 11:22:10AM -0700, Chase Douglas wrote: This will be used for accepting and rejecting touches in the future. Signed-off-by: Chase Douglas chase.doug...@canonical.com --- dix/events.c| 11 +--- dix/touch.c

Re: [PATCH 04/10] When activating an explicit grab, update owning listener

2012-04-19 Thread Bryce Harrington
On Tue, Apr 17, 2012 at 04:33:23PM -0700, Chase Douglas wrote: Pointer passive grabs may be changed by the grabbing client. This allows for a selecting client to change an implicit grab to an active grab, which is the mechanism used for pop-up windows like application menus. We need to do

Re: [PATCH 00/10] Miscellaneous input fixes

2012-04-19 Thread Bryce Harrington
On Tue, Apr 17, 2012 at 04:33:19PM -0700, Chase Douglas wrote: These are more input fixes for various issues, mostly involving touchscreen pointer emulation. I have started maintaining a branch of all my fixes so I can keep better track of them. The branch can be found here:

Re: [PATCH 04/10] When activating an explicit grab, update owning listener

2012-04-19 Thread Chase Douglas
On 04/19/2012 09:49 AM, Bryce Harrington wrote: On Tue, Apr 17, 2012 at 04:33:23PM -0700, Chase Douglas wrote: Pointer passive grabs may be changed by the grabbing client. This allows for a selecting client to change an implicit grab to an active grab, which is the mechanism used for pop-up

Re: libX11: Changes to 'master'

2012-04-19 Thread Julien Cristau
On Tue, Apr 10, 2012 at 17:56:47 +0200, Pander wrote: Could you please apply that one already so it is of the list and we discuss the rest below? THanks. Please send it properly (such as with git send-email) with a commit message, and I'll do that. I would still argue for reverting some of

[PATCH xserver 1/2] xres: Fix build without composite

2012-04-19 Thread Jeremy Huddleston
Regression from: b8d0d19a6d410776b53a41e7cae90f68d4b22bb7 Signed-off-by: Jeremy Huddleston jerem...@apple.com --- Xext/xres.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/Xext/xres.c b/Xext/xres.c index ecef0c0..dbefeeb 100644 --- a/Xext/xres.c +++ b/Xext/xres.c @@ -29,7 +29,10 @@

[PATCH xserver 2/2] os: Annotate OsVendorFatalError as _X_ATTRIBUTE_PRINTF

2012-04-19 Thread Jeremy Huddleston
Signed-off-by: Jeremy Huddleston jerem...@apple.com --- include/os.h |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/os.h b/include/os.h index 166c60c..276eb52 100644 --- a/include/os.h +++ b/include/os.h @@ -321,7 +321,8 @@ extern _X_EXPORT void OsCleanup(Bool);

[PATCH synaptics] Don't release the button on TS_3 if TapAndDrag is disabled (#31854)

2012-04-19 Thread Peter Hutterer
TS_3 is second tap down. Unconditionally set the button as down, later, in HandleTapProcessing we have the required conditions to reset it to TS_START and TBS_BUTTON_UP. Meanwhile, TBS_BUTTON_DOWN stays down, so the second tap is counted and sent as button event. This restores double-tapping if

Re: [PATCH] workaround crash on close (X server 1.12)

2012-04-19 Thread Jeremy Huddleston
Please squash the changes into a single commit. Also, why is the screenDrawable check in the xf86_config-rotation_damage predicate rather than the xf86_config-rotation_damage_registered predicate? On Apr 11, 2012, at 6:44 AM, Michal Suchanek hramr...@gmail.com wrote: Hello, the patch to

Re: xserver: Branch 'master' - 9 commits

2012-04-19 Thread Jeremy Huddleston
Crap, I just noticed that the machine I was on was tracking the wrong master, and this was pushed to origin instead of ~jeremyhu/master. I'm terribly sorry about that. I was planning on sending a [PULL] for this soon anyways, but I wanted to get some of the changes reviewed-by first. I'm

Re: xserver: Branch 'master' - 9 commits

2012-04-19 Thread Keith Packard
On Thu, 19 Apr 2012 22:29:48 -0700, Jeremy Huddleston jerem...@apple.com wrote: I'm terribly sorry for pushing. I'll go hide in a corner now. No worries. I've pushed a replacement for master and it's all been fixed now. Thanks for letting us know; I was simultaneously having git adventures