Re: [PATCH xinit 2/3] startx: Under Linux start X on the current VT

2014-03-27 Thread Hans de Goede
Hi, On 03/27/2014 04:40 AM, Jasper St. Pierre wrote: On Tue, Mar 25, 2014 at 10:02 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 03/25/2014 02:50 PM, Julien Cristau wrote: On Tue, Mar 25, 2014 at 12:56:35 +0100, Hans de Goede wrote: When we let X allocate a new VT, systemd-logind

Re: [PATCH v2 2/2] xf86LogInit: log to XDG_DATA_HOME when not running as root

2014-03-27 Thread Hans de Goede
Hi, On 03/27/2014 02:08 AM, Jasper St. Pierre wrote: It seems to me like they should be in ~/.cache/, which is where non-important files that are mostly transient should go. I've had a similar discussion in other projects (spice) and we decided on XDG_DATA_HOME there. Logs realyl don't belong

Re: [PATCH xinit 1/3] Drop $RAWCPPFLAGS when generating startx

2014-03-27 Thread Hans de Goede
Hi, On 03/26/2014 02:21 PM, Gaetan Nadon wrote: On 14-03-26 07:37 AM, Hans de Goede wrote: Hi, On 03/25/2014 06:22 PM, Gaetan Nadon wrote: On 14-03-25 07:56 AM, Hans de Goede wrote: startx.cpp contains things like #if defined(__SCO__), and $RAWCPPFLAGS contains -undef causing these to not

[PATCH xinit v2 2/3] Drop Replace $RAWCPPFLAGS with $TRADITIONALCPPFLAGS when processing cpp files

2014-03-27 Thread Hans de Goede
Various .cpp files containt things like #ifdef __APPLE__ and #ifdef __linux__ these have been broken (all #ifdef-s always seen as false) since: http://cgit.freedesktop.org/xorg/util/macros/commit/?id=d690e4a9febd07988d149a967791c5629c17b258 This commit makes these work again. Signed-off-by: Hans

[PATCH xinit v2 1/3] Remove unixware / sco support

2014-03-27 Thread Hans de Goede
We don't support SCO / Unixware anymore, so lets remove the SCO / Unixware specific bits from startx and xinitrc Signed-off-by: Hans de Goede hdego...@redhat.com --- startx.cpp | 53 + xinitrc.cpp | 43

[PATCH xinit v2 3/3] startx: Under Linux start X on the current VT

2014-03-27 Thread Hans de Goede
When we let X allocate a new VT, systemd-logind will not recognize any processes running on this VT as belonging to a valid session (since there was no pam session opened on that tty). This causes problems like PolicyKit denials for these processes. ConsoleKit under Linux has been deprecated for

[PATCH util/macros] XORG_PROG_RAWCPP: Add TRADITIONALCPPFLAGS

2014-03-27 Thread Hans de Goede
In some cases we may want to have -traditional for proper whitespace preserving without -undef, as we actually want the system definitions to be in place so we can #ifdef on them. IE in xinit various .cpp files contain things like #ifdef __APPLE__ and #ifdef __linux__ So this patch adds a

Re: [PATCH util/macros] XORG_PROG_RAWCPP: Add TRADITIONALCPPFLAGS

2014-03-27 Thread Gaetan Nadon
On 14-03-27 07:56 AM, Hans de Goede wrote: In some cases we may want to have -traditional for proper whitespace preserving without -undef, as we actually want the system definitions to be in place so we can #ifdef on them. IE in xinit various .cpp files contain things like #ifdef __APPLE__

Re: [PATCH util/macros] XORG_PROG_RAWCPP: Add TRADITIONALCPPFLAGS

2014-03-27 Thread Hans de Goede
Hi, On 03/27/2014 01:34 PM, Gaetan Nadon wrote: On 14-03-27 07:56 AM, Hans de Goede wrote: In some cases we may want to have -traditional for proper whitespace preserving without -undef, as we actually want the system definitions to be in place so we can #ifdef on them. IE in xinit various

Re: [PATCH xinit v2 1/3] Remove unixware / sco support

2014-03-27 Thread Mark Kettenis
From: Hans de Goede hdego...@redhat.com Date: Thu, 27 Mar 2014 12:55:55 +0100 We don't support SCO / Unixware anymore, so lets remove the SCO / Unixware specific bits from startx and xinitrc Signed-off-by: Hans de Goede hdego...@redhat.com Reviewed-by: Mark Kettenis kette...@openbsd.org

Re: [PATCH xinit v2 3/3] startx: Under Linux start X on the current VT

2014-03-27 Thread Mark Kettenis
From: Hans de Goede hdego...@redhat.com Date: Thu, 27 Mar 2014 12:55:57 +0100 When we let X allocate a new VT, systemd-logind will not recognize any processes running on this VT as belonging to a valid session (since there was no pam session opened on that tty). This causes problems like

Re: [PATCH xinit v2 1/3] Remove unixware / sco support

2014-03-27 Thread Gaetan Nadon
On 14-03-27 07:55 AM, Hans de Goede wrote: We don't support SCO / Unixware anymore, so lets remove the SCO / Unixware specific bits from startx and xinitrc Signed-off-by: Hans de Goede hdego...@redhat.com Reviewed-by: Gaetan Nadon mems...@videotron.ca SCO support was removed from the server

Re: [PATCH xinit v2 3/3] startx: Under Linux start X on the current VT

2014-03-27 Thread Hans de Goede
Hi, On 03/27/2014 02:18 PM, Mark Kettenis wrote: From: Hans de Goede hdego...@redhat.com Date: Thu, 27 Mar 2014 12:55:57 +0100 When we let X allocate a new VT, systemd-logind will not recognize any processes running on this VT as belonging to a valid session (since there was no pam session

Re: [PATCH util/macros] XORG_PROG_RAWCPP: Add TRADITIONALCPPFLAGS

2014-03-27 Thread Gaetan Nadon
On 14-03-27 08:48 AM, Hans de Goede wrote: Once the 1.19 release is done I'll write a patch for xinit to bump the required util-macros version (and out that in my patchset before the patch using the new TRADITIONALCPPFLAGS. Release 1.19 is out.

Re: [PATCH util/macros] XORG_PROG_RAWCPP: Add TRADITIONALCPPFLAGS

2014-03-27 Thread Hans de Goede
Hi, On 03/27/2014 02:39 PM, Gaetan Nadon wrote: On 14-03-27 08:48 AM, Hans de Goede wrote: Once the 1.19 release is done I'll write a patch for xinit to bump the required util-macros version (and out that in my patchset before the patch using the new TRADITIONALCPPFLAGS. Release 1.19 is out.

[PATCH] mi: Hush extension initialization (#75870)

2014-03-27 Thread Adam Jackson
Printing these as ErrorF is fairly obnoxious, since it means the non-hardware servers now spew stuff to the console for entirely routine events. And actually, printing these at all is fairly obnoxious, since a) we're printing a line for every extension, whether it's enabled or not, and b) we're

Re: [PATCH] mi: Hush extension initialization (#75870)

2014-03-27 Thread Kristian Høgsberg
On Thu, Mar 27, 2014 at 8:48 AM, Adam Jackson a...@redhat.com wrote: Printing these as ErrorF is fairly obnoxious, since it means the non-hardware servers now spew stuff to the console for entirely routine events. And actually, printing these at all is fairly obnoxious, since a) we're

Re: [PATCH] mi: Hush extension initialization (#75870)

2014-03-27 Thread Daniel Stone
Hi, On 27 March 2014 15:48, Adam Jackson a...@redhat.com wrote: Printing these as ErrorF is fairly obnoxious, since it means the non-hardware servers now spew stuff to the console for entirely routine events. And actually, printing these at all is fairly obnoxious, since a) we're printing a

[PULL] Build fixes and cleanup plus a -displayfd improvement

2014-03-27 Thread Jon TURNEY
Hi Keith, Please consider pulling into master. Thanks. The following changes since commit 7b2a517ba99f6756e98c4aef47d9b9399b997157: Xephyr: restore initial window resize lost in xcb conversion (2014-03-26 22:34:32 -0700) are available in the git repository at:

[PATCH] config by seat

2014-03-27 Thread Oleg Samarin
Hello! Sometimes ago I made a patch that allows to configure Devices, Screens and Layouts belonging to the different seats in a multi-seat environment. It is useful for the setting up with several videocards using propritery drivers (I've tested with Nvidia). Because my patch has not been

Re: [PATCH v2] fb: fix fast-path detection

2014-03-27 Thread Keith Packard
Daniel Kurtz djku...@google.com writes: Hi Keith, Thank you very much for your detailed review. Your patch looks great. Just one small detail. Are src/dst_byte_stride still FbStride if they count bytes not FbBits? Perhaps they are size_t? FbStride will be fine (it's an 'int'). X pixmaps