[PATCH] dix: avoid using the VCP as modifier device

2011-07-28 Thread Peter Hutterer
Core grabs may change device when they're activated to reflect the master they apply to. If the device is a keyboard, modifierDevice is erroneously set to the Virtual Core Pointer. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- There are a few more cases where GetPairedDevice may

[PATCH] dix: ignore devices when adding passive core grabs to list (#39545)

2011-07-28 Thread Peter Hutterer
Passive core grabs are mostly device-independent. In an MPX scenario, they may change to reflect whichever master pair activated the grab last. For adding new grabs to the list, ignore the device for core grabs to return failures when trying to set the same grab combo twice on a window. X.Org Bug

Document gradients and PDF blend modes

2011-07-28 Thread Andrea Canciani
The RENDER specification is currently lacking documentation if the expected behavior of PDF blend modes and gradient pictures. This is an attempt to fix this issue. I tracked the documentation available in pixman comments and in the PDF specification and tried to integrate it in the protocol

[PATCH 1/2] Document PDF blend operators

2011-07-28 Thread Andrea Canciani
PDF blend operators were added in RENDER 0.11, but no documentation is available in the specification. --- renderproto.txt | 126 +++--- 1 files changed, 119 insertions(+), 7 deletions(-) diff --git a/renderproto.txt b/renderproto.txt index

[PATCH 2/2] Document gradients

2011-07-28 Thread Andrea Canciani
0.10 introduced gradient picture sources, but did not provide the documentation which describes their behavior. --- renderproto.txt | 63 +- 1 files changed, 61 insertions(+), 2 deletions(-) diff --git a/renderproto.txt b/renderproto.txt

[PATCH] Revert composite: Don't backfill non-MapWindow allocations

2011-07-28 Thread Pierre-Loup A. Griffais
This reverts commit db8840600e8e21356241eb87395031388d9b54d2. Conflicts: composite/compalloc.c --- composite/compalloc.c | 10 +++--- 1 files changed, 3 insertions(+), 7 deletions(-) diff --git a/composite/compalloc.c b/composite/compalloc.c index 5c27631..841b2dc 100644 ---

Re: [PATCH] Revert composite: Don't backfill non-MapWindow allocations

2011-07-28 Thread Pierre-Loup A. Griffais
Oops, initially got an outdated address for Ville. Properly CCing now; the idea is that 193ecc8b453b22b3e6 breaks backfilling on resize if db8840600e8e213562 is also applied. Thanks, - Pierre-Loup On 07/28/2011 12:58 PM, Pierre-Loup A. Griffais wrote: This reverts commit

Re: [PATCH] Revert composite: Don't backfill non-MapWindow allocations

2011-07-28 Thread Adam Jackson
On Thu, 2011-07-28 at 12:58 -0700, Pierre-Loup A. Griffais wrote: This reverts commit db8840600e8e21356241eb87395031388d9b54d2. Conflicts: composite/compalloc.c Reviewed-by: Adam Jackson a...@redhat.com - ajax signature.asc Description: This is a digitally signed message part

Re: [PATCH] Revert composite: Don't backfill non-MapWindow allocations

2011-07-28 Thread Julien Cristau
On Thu, Jul 28, 2011 at 13:00:54 -0700, Pierre-Loup A. Griffais wrote: now; the idea is that 193ecc8b453b22b3e6 breaks backfilling on resize if db8840600e8e213562 is also applied. I think the above should be in the commit message. Cheers, Julien

Re: [PATCH] Revert composite: Don't backfill non-MapWindow allocations

2011-07-28 Thread Pierre-Loup A. Griffais
Yeah, it was somewhat lacking; fixed and added reviewed tag by ajax. Thanks! - Pierre-Loup On 07/28/2011 01:53 PM, Julien Cristau wrote: On Thu, Jul 28, 2011 at 13:00:54 -0700, Pierre-Loup A. Griffais wrote: now; the idea is that 193ecc8b453b22b3e6 breaks backfilling on resize if

[PATCH] Add source id to RawEvents in XI 2.1

2011-07-28 Thread Peter Hutterer
Another addition for raw events in XI 2.1. Though the libXi interface has a sourceid field, that field is always 0 because the protocol is missing the bit to send it down the wire. So in 2.1, replace one of the padding fields in the event struct with the source device ID. Cheers, Peter

[PATCH inputproto] Add sourceid to RawEvents (#34420)

2011-07-28 Thread Peter Hutterer
RawEvents in XI2 do not provide the source ID. The libXi headers however do and it is currently always 0. Given that the sourceid may be useful for some clients, send it down the wire. X.Org Bug 34420 http://bugs.freedesktop.org/show_bug.cgi?id=34420 Signed-off-by: Peter Hutterer

[PATCH] dix: copy the source ID into the RawEvent (#34240)

2011-07-28 Thread Peter Hutterer
X.Org Bug 34240 http://bugs.freedesktop.org/show_bug.cgi?id=34240 Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- dix/eventconvert.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dix/eventconvert.c b/dix/eventconvert.c index 024f2e8..e47348c 100644 ---

[PATCH xinput] Print the sourceid for RawEvents. (#34240)

2011-07-28 Thread Peter Hutterer
For XI 2.0 servers, this will always be 0. X.Org Bug 34240 http://bugs.freedesktop.org/show_bug.cgi?id=34240 Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- src/test_xi2.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/test_xi2.c b/src/test_xi2.c index

[PATCH libXi] Set the raw event's sourceid in XI 2.1 (#34240)

2011-07-28 Thread Peter Hutterer
X.Org Bug 34240 http://bugs.freedesktop.org/show_bug.cgi?id=34240 Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- include/X11/extensions/XInput2.h |2 +- src/XExtInt.c|7 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git

[PATCH v2 1/3] nls: restructure charts as a single article with sections

2011-07-28 Thread Gaetan Nadon
Looks more like a real article with a toc rather than individual web pages. Looks nicer in pdf. Each locale is a section rather than an article. Using XInclude to aggregate xml source files gets you the toc for free. The single document is over 600 pages while there were 62 separate documents

[PATCH v2 2/3] specs: build compose keys tables in specs/i18n/compose

2011-07-28 Thread Gaetan Nadon
Build the tables article together with the rest of the specs. Make it transparent that the source in generated in nls. Reuse docbook.am and get all the features such as olink. The docbook article file stem and id must be the same. The new name for the main article is libX11-keys. The new

[PATCH v2 3/3] compose specs: generate chunked html

2011-07-28 Thread Gaetan Nadon
For large 600 page documents such as this one, chunked html provide faster browser load time and better navigation. Simply click on the locale of your choice in the toc and the browser loads just that one file. Being a DocBook, it benefits from all of the usual features and can be integrated with

[PATCH sgml-doctools 1/2] Update masterdb for libX11/i18n/compose/libX11-keys.xml

2011-07-28 Thread Gaetan Nadon
This document can be referred to using olink. Signed-off-by: Gaetan Nadon mems...@videotron.ca --- masterdb/masterdb.xml |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/masterdb/masterdb.xml b/masterdb/masterdb.xml index 4860103..a3944dd 100644 ---

[PATCH sgml-doctools 2/2] Add support for generating chunked xhtml for DocBooks

2011-07-28 Thread Gaetan Nadon
Some large documents will benefit from this feature. A different docbook xsl file must be imported. Signed-off-by: Gaetan Nadon mems...@videotron.ca --- Makefile.am|1 + xorg-chunk.xsl | 59 2 files changed, 60 insertions(+), 0