Re: Using systemd-logind Session.TakeControl() from Xorg, input needed

2013-12-05 Thread Hans de Goede
Hi All, First of all thanks to everyone in this thread for the input. Since a lot has been said in various mails I'm going to try and summarize it all here, rather then sending a reply to each and every mail in the thread. It seems that the best and most feasible way to make Xorg properly

Re: Using systemd-logind Session.TakeControl() from Xorg, input needed

2013-12-05 Thread Ray Strode
Hi, - Original Message - Ray Strode also said: You can't shut down an X server unless it's in the foreground.. I can remember having done that without problems just yesterday when working on systemd socket activation for the xserver. I've just tried and I can happily kill (normal

Re: [PATCH 4/7] present: Send GLX_BufferSwapComplete events from present extension

2013-12-05 Thread Adam Jackson
On Wed, 2013-12-04 at 20:57 -0800, Keith Packard wrote: Adam Jackson a...@redhat.com writes: Is this default path right? If this can be called with PresentCompleteModeSkip then you'll send a GLX event with type of 0, which INTEL_swap_event doesn't say is legal. Same here; this should

Re: Using systemd-logind Session.TakeControl() from Xorg, input needed

2013-12-05 Thread Hans de Goede
Hi, On 12/05/2013 04:05 PM, Ray Strode wrote: Hi, - Original Message - Ray Strode also said: You can't shut down an X server unless it's in the foreground.. I can remember having done that without problems just yesterday when working on systemd socket activation for the xserver. I've

Re: [PATCH 4/7] present: Send GLX_BufferSwapComplete events from present extension

2013-12-05 Thread Keith Packard
Adam Jackson a...@redhat.com writes: Sounds good. r-b with that change. Merged all 1-7 patches. eafba23..653d339 master - master -- keith.pack...@intel.com pgpQwCly6pXiI.pgp Description: PGP signature ___ xorg-devel@lists.x.org: X.Org

Re: [PATCH RESEND xserver] libtool: bump minimum required version to 2.2

2013-12-05 Thread Keith Packard
Gaetan Nadon mems...@videotron.ca writes: Tested with autoconf 2.60, automake 1.10.3 and libtool 2.2 This all looks sensible, but I think we'll wait to change these kinds of build dependencies until after 1.15 ships, if that seems good to you. -- keith.pack...@intel.com pgpXq7mrIIrd8.pgp

Re: [PATCH 3/5] ephyr: Fix compilation when ./configure'd with --enable-debug

2013-12-05 Thread Keith Packard
Jon TURNEY jon.tur...@dronecode.org.uk writes: xcb_button_press_event_t *button = (xcb_button_press_event_t *)xev; +KdScreenInfo *screen = screen_from_window(button-event); I suspect you won't want a local variable here -- when debug isn't enabled, this variable won't be used at all,

Re: [PATCH 3/3] configure.ac: Require libpciaccess for int10

2013-12-05 Thread Keith Packard
Jeremy Huddleston Sequoia jerem...@apple.com writes: For Jon's fixup: Reviewed-by: Jeremy Huddleston Sequoia jerem...@apple.com Tested-by: Jeremy Huddleston Sequoia jerem...@apple.com Merged. 653d339..57a8ce9 master - master -- keith.pack...@intel.com pgpjhwlGmDOEk.pgp Description:

[PATCH] damageext: Xineramify (v7)

2013-12-05 Thread Adam Jackson
v7: Don't bother making resources for the backing listeners. [keithp] This is now slightly unlike how other resources are xineramified. We create N+1 internal damage listeners, one that's a real resource and reflects the protocol view, and then one per backend screen where the report function

Re: [PATCH 1/2] glx: Fix incorrect use of dri_interface.h version defines in extensions.

2013-12-05 Thread Keith Packard
Ian Romanick i...@freedesktop.org writes: On 11/14/2013 05:40 PM, Eric Anholt wrote: Those defines are so you can compile-time check do I have a dri_interface.h that defines this new field of the struct? You don't want the server to claim it implements the new struct just because you

Re: [PATCH] damageext: Xineramify (v7)

2013-12-05 Thread Adam Jackson
On Thu, 2013-12-05 at 14:09 -0500, Adam Jackson wrote: +rc = dixLookupWindow(pDrawable, draw-info[i].id, client, + DixGetAttrAccess | DixReadAccess); Apologies, just noticed that this introduces a warning. Pretend I wrote the obvious

[PATCH] registry: Make RegisterExtensionNames slightly less inefficient (v2)

2013-12-05 Thread Adam Jackson
v2: zero the buffer before reading into it to protect against malformed input file [aaronp] The big change is to defer strdup until we actually know the line matches the extension we're initializing. This cuts the number of calls to strdup on this path from 24090 to 554, and 'Xvfb -pogo' drops

Re: [PATCH RESEND xserver] libtool: bump minimum required version to 2.2

2013-12-05 Thread Gaetan Nadon
On 13-12-05 01:37 PM, Keith Packard wrote: Gaetan Nadon mems...@videotron.ca writes: Tested with autoconf 2.60, automake 1.10.3 and libtool 2.2 This all looks sensible, but I think we'll wait to change these kinds of build dependencies until after 1.15 ships, if that seems good to you. I had

[PATCH libxshmfence] Add support for FreeBSD using umtx.

2013-12-05 Thread Jung-uk Kim
Signed-off-by: Jung-uk Kim j...@freebsd.org --- configure.ac | 11 ++- src/xshmfence_futex.h | 35 +-- 2 files changed, 39 insertions(+), 7 deletions(-) diff --git a/configure.ac b/configure.ac index 8a39f22..ebabeb0 100644 --- a/configure.ac +++

Crasing issue with libXt

2013-12-05 Thread Subrata Dasgupta
Hi All, I am facing a crashing issue while using libXt library(1.0.7 version). I am attaching the full back trace of two core files. The last 5 function calls are same in the back trace. I have no idea why this issue is coming.. Please help. Below information may be useful... 1 I can see from