[PATCH test/xts] Fix XSendEvent tests

2012-08-01 Thread Peter Harris
doesn't generate GenericEvent. Signed-off-by: Peter Harris phar...@opentext.com --- xts5/Xlib12/XSendEvent.m |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/xts5/Xlib12/XSendEvent.m b/xts5/Xlib12/XSendEvent.m index 26eb5a1..48eec0e 100644 --- a/xts5/Xlib12

[PATCH test/xts] Check for xtrans in configure

2012-08-01 Thread Peter Harris
Some RHEL have an x11-dev that does not depend on xtrans-dev. Signed-off-by: Peter Harris phar...@opentext.com --- configure.ac |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index 07abff3..d08b759 100644 --- a/configure.ac +++ b

[PATCH test/xts] Fix segfault in XtCallbackReleaseCacheRefList test

2012-08-01 Thread Peter Harris
XtCallbackReleaseCacheRefList frees its parameter. Signed-off-by: Peter Harris phar...@opentext.com --- xts5/Xt11/XtCallbackReleaseCacheRefList.m |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/xts5/Xt11/XtCallbackReleaseCacheRefList.m b/xts5/Xt11

Re: [PATCH test/xts 04/18] Build Xt3

2012-07-25 Thread Peter Harris
On 2012-07-25 12:24, Aaron Plattner wrote: ... and this fixes it: Thanks. I'll squash that in and post a v2 shortly. Thanks, Peter Harris -- Open Text Connectivity Solutions Group Peter Harrishttp://connectivity.opentext.com/ Research and Development

[PATCH test/xts v2 03/20] Build libXtaw

2012-07-25 Thread Peter Harris
libXtaw is used by the Xt tests. Signed-off-by: Peter Harris phar...@opentext.com Reviewed-by: Aaron Plattner aplatt...@nvidia.com --- configure.ac|3 ++- xts5/src/Makefile.am|2 +- xts5/src/libXtaw/Viewport.c | 10 -- 3 files changed, 7 insertions(+), 8

[PATCH test/xts v2 01/20] Ignore generated man page

2012-07-25 Thread Peter Harris
Signed-off-by: Peter Harris phar...@opentext.com Reviewed-by: Aaron Plattner aplatt...@nvidia.com --- .gitignore |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/.gitignore b/.gitignore index 906e545..cb12cbb 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,5

[PATCH test/xts v2 05/20] Build Xt4

2012-07-25 Thread Peter Harris
Signed-off-by: Peter Harris phar...@opentext.com --- configure.ac |1 + xts5/Makefile.am |2 +- xts5/Xt4/.gitignore | 33 ++ xts5/Xt4/Makefile.am | 55 ++ 4 files changed, 90 insertions(+), 1

[PATCH test/xts v2 07/20] Build Xt6

2012-07-25 Thread Peter Harris
Signed-off-by: Peter Harris phar...@opentext.com --- configure.ac |1 + xts5/Makefile.am |2 +- xts5/Xt6/.gitignore |7 +++ xts5/Xt6/Makefile.am | 29 + 4 files changed, 38 insertions(+), 1 deletions(-) create mode 100644 xts5/Xt6

[PATCH test/xts v2 09/20] Build Xt8

2012-07-25 Thread Peter Harris
Signed-off-by: Peter Harris phar...@opentext.com --- configure.ac |1 + xts5/Makefile.am |2 +- xts5/Xt8/.gitignore |7 +++ xts5/Xt8/Makefile.am | 32 4 files changed, 41 insertions(+), 1 deletions(-) create mode 100644 xts5/Xt8

[PATCH test/xts v2 06/20] Build Xt5

2012-07-25 Thread Peter Harris
Signed-off-by: Peter Harris phar...@opentext.com --- configure.ac |1 + xts5/Makefile.am |2 +- xts5/Xt5/.gitignore | 10 ++ xts5/Xt5/Makefile.am | 32 4 files changed, 44 insertions(+), 1 deletions(-) create mode 100644 xts5/Xt5

[PATCH test/xts v2 08/20] Build Xt7

2012-07-25 Thread Peter Harris
Signed-off-by: Peter Harris phar...@opentext.com --- configure.ac |1 + xts5/Makefile.am |2 +- xts5/Xt7/.gitignore | 11 +++ xts5/Xt7/Makefile.am | 33 + 4 files changed, 46 insertions(+), 1 deletions(-) create mode 100644 xts5

[PATCH test/xts v2 11/20] Build Xt10

2012-07-25 Thread Peter Harris
Signed-off-by: Peter Harris phar...@opentext.com --- configure.ac |1 + xts5/Makefile.am |3 ++- xts5/Xt10/.gitignore |8 xts5/Xt10/Makefile.am | 30 ++ 4 files changed, 41 insertions(+), 1 deletions(-) create mode 100644 xts5

[PATCH test/xts v2 10/20] Build Xt9

2012-07-25 Thread Peter Harris
Signed-off-by: Peter Harris phar...@opentext.com --- configure.ac |1 + xts5/Makefile.am |2 +- xts5/Xt9/.gitignore | 33 +++ xts5/Xt9/Makefile.am | 61 ++ 4 files changed, 96 insertions(+), 1

[PATCH test/xts v2 15/20] Build Xt14

2012-07-25 Thread Peter Harris
Signed-off-by: Peter Harris phar...@opentext.com --- configure.ac |1 + xts5/Makefile.am |2 +- xts5/Xt14/.gitignore |2 ++ xts5/Xt14/Makefile.am | 24 4 files changed, 28 insertions(+), 1 deletions(-) create mode 100644 xts5/Xt14/.gitignore

[PATCH test/xts v2 14/20] Build Xt13

2012-07-25 Thread Peter Harris
Signed-off-by: Peter Harris phar...@opentext.com --- configure.ac |1 + xts5/Makefile.am |2 +- xts5/Xt13/.gitignore | 39 + xts5/Xt13/Makefile.am | 64 + 4 files changed, 105 insertions(+), 1

[PATCH test/xts v2 17/20] Build XtC

2012-07-25 Thread Peter Harris
Signed-off-by: Peter Harris phar...@opentext.com --- configure.ac |1 + xts5/Makefile.am |2 +- xts5/XtC/.gitignore | 29 xts5/XtC/Makefile.am | 51 ++ 4 files changed, 82 insertions(+), 1

[PATCH test/xts v2 16/20] Build Xt15

2012-07-25 Thread Peter Harris
Signed-off-by: Peter Harris phar...@opentext.com --- configure.ac |1 + xts5/Makefile.am |2 +- xts5/Xt15/.gitignore |1 + xts5/Xt15/Makefile.am | 23 +++ 4 files changed, 26 insertions(+), 1 deletions(-) create mode 100644 xts5/Xt15/.gitignore

[PATCH test/xts v2 19/20] Revert Delete the Xt scenarios from 'all'

2012-07-25 Thread Peter Harris
All the Xt tests build now. This reverts commit 106e89be471ddd99972a602a789352ca53fc2a88. Signed-off-by: Peter Harris phar...@opentext.com --- xts5/tet_scen | 30 ++ 1 files changed, 30 insertions(+), 0 deletions(-) diff --git a/xts5/tet_scen b/xts5/tet_scen index

[PATCH test/xts v2 20/20] Add ShapeExt section to all.

2012-07-25 Thread Peter Harris
Signed-off-by: Peter Harris phar...@opentext.com --- xts5/tet_scen |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/xts5/tet_scen b/xts5/tet_scen index a552d05..fa13bca 100644 --- a/xts5/tet_scen +++ b/xts5/tet_scen @@ -184,6 +184,8 @@ all :include:/scenarios

[PATCH test/xts v2 18/20] Build XtE

2012-07-25 Thread Peter Harris
Rename StringDefs.h.m to StringDefs.m to avoid confusing AutoFoo. Signed-off-by: Peter Harris phar...@opentext.com --- configure.ac |1 + xts5/Makefile.am |2 +- xts5/XtE/.gitignore |1 + xts5/XtE/Makefile.am

[PATCH test/xts] Fix build of Xt* tests on Fedora

2012-07-25 Thread Peter Harris
--- This can be committed separately, although I'm inclined to squash it into patch 03/20. configure.ac |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index 6c162dc..07abff3 100644 --- a/configure.ac +++ b/configure.ac @@ -64,7 +64,7 @@

[PATCH test/xts 01/18] Ignore generated man page

2012-07-24 Thread Peter Harris
Signed-off-by: Peter Harris phar...@opentext.com --- .gitignore |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/.gitignore b/.gitignore index 906e545..cb12cbb 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,5 @@ stamp-h1 tcc check.sh results/ +XTS.txt +XTS.7

[PATCH test/xts 18/18] Add ShapeExt section to all.

2012-07-24 Thread Peter Harris
Signed-off-by: Peter Harris phar...@opentext.com --- xts5/tet_scen |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/xts5/tet_scen b/xts5/tet_scen index b39cb38..ae2d583 100644 --- a/xts5/tet_scen +++ b/xts5/tet_scen @@ -184,6 +184,8 @@ all :include:/scenarios

[PATCH test/xts 17/18] Revert Delete the Xt scenarios from 'all'

2012-07-24 Thread Peter Harris
All the Xt tests build now. This reverts commit 106e89be471ddd99972a602a789352ca53fc2a88. Signed-off-by: Peter Harris phar...@opentext.com --- xts5/tet_scen | 30 ++ 1 files changed, 30 insertions(+), 0 deletions(-) diff --git a/xts5/tet_scen b/xts5/tet_scen index

[PATCH test/xts 16/18] Build Xt15

2012-07-24 Thread Peter Harris
Signed-off-by: Peter Harris phar...@opentext.com --- configure.ac |1 + xts5/Makefile.am |2 +- xts5/Xt15/.gitignore |1 + xts5/Xt15/Makefile.am | 23 +++ 4 files changed, 26 insertions(+), 1 deletions(-) create mode 100644 xts5/Xt15/.gitignore

[PATCH test/xts 15/18] Build Xt14

2012-07-24 Thread Peter Harris
Signed-off-by: Peter Harris phar...@opentext.com --- configure.ac |1 + xts5/Makefile.am |2 +- xts5/Xt14/.gitignore |2 ++ xts5/Xt14/Makefile.am | 24 4 files changed, 28 insertions(+), 1 deletions(-) create mode 100644 xts5/Xt14/.gitignore

[PATCH test/xts 07/18] Build Xt6

2012-07-24 Thread Peter Harris
Signed-off-by: Peter Harris phar...@opentext.com --- configure.ac |1 + xts5/Makefile.am |2 +- xts5/Xt6/.gitignore |7 +++ xts5/Xt6/Makefile.am | 29 + 4 files changed, 38 insertions(+), 1 deletions(-) create mode 100644 xts5/Xt6

[PATCH test/xts 11/18] Build Xt10

2012-07-24 Thread Peter Harris
Signed-off-by: Peter Harris phar...@opentext.com --- configure.ac |1 + xts5/Makefile.am |3 ++- xts5/Xt10/.gitignore |8 xts5/Xt10/Makefile.am | 30 ++ 4 files changed, 41 insertions(+), 1 deletions(-) create mode 100644 xts5

[PATCH test/xts 06/18] Build Xt5

2012-07-24 Thread Peter Harris
Signed-off-by: Peter Harris phar...@opentext.com --- configure.ac |1 + xts5/Makefile.am |2 +- xts5/Xt5/.gitignore | 10 ++ xts5/Xt5/Makefile.am | 32 4 files changed, 44 insertions(+), 1 deletions(-) create mode 100644 xts5/Xt5

[PATCH test/xts 08/18] Build Xt7

2012-07-24 Thread Peter Harris
Signed-off-by: Peter Harris phar...@opentext.com --- configure.ac |1 + xts5/Makefile.am |2 +- xts5/Xt7/.gitignore | 11 +++ xts5/Xt7/Makefile.am | 33 + 4 files changed, 46 insertions(+), 1 deletions(-) create mode 100644 xts5

[PATCH test/xts 09/18] Build Xt8

2012-07-24 Thread Peter Harris
Signed-off-by: Peter Harris phar...@opentext.com --- configure.ac |1 + xts5/Makefile.am |2 +- xts5/Xt8/.gitignore |7 +++ xts5/Xt8/Makefile.am | 32 4 files changed, 41 insertions(+), 1 deletions(-) create mode 100644 xts5/Xt8

[PATCH test/xts 02/18] Re-enable the ShapeExt tests

2012-07-24 Thread Peter Harris
Signed-off-by: Peter Harris phar...@opentext.com --- configure.ac |1 + xts5/Makefile.am |2 +- xts5/SHAPE/.gitignore | 11 +++ xts5/SHAPE/Makefile.am | 31 +++ 4 files changed, 44 insertions(+), 1 deletions(-) create mode 100644

[PATCH test/xts 03/18] Build libXtaw

2012-07-24 Thread Peter Harris
libXtaw is used by the Xt tests. Signed-off-by: Peter Harris phar...@opentext.com --- configure.ac|3 ++- xts5/src/Makefile.am|2 +- xts5/src/libXtaw/Viewport.c | 10 -- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/configure.ac b

[PATCH test/xts 04/18] Build Xt3

2012-07-24 Thread Peter Harris
Signed-off-by: Peter Harris phar...@opentext.com --- configure.ac |1 + xts5/Makefile.am |2 +- xts5/Xt3/.gitignore | 21 + xts5/Xt3/Makefile.am | 47 +++ 4 files changed, 70 insertions(+), 1 deletions

[PATCH test/xts 13/18] Build Xt12

2012-07-24 Thread Peter Harris
Signed-off-by: Peter Harris phar...@opentext.com --- configure.ac |1 + xts5/Makefile.am |2 +- xts5/Xt12/.gitignore | 22 ++ xts5/Xt12/Makefile.am | 44 4 files changed, 68 insertions(+), 1 deletions

[PATCH test/xts 10/18] Build Xt9

2012-07-24 Thread Peter Harris
Signed-off-by: Peter Harris phar...@opentext.com --- configure.ac |1 + xts5/Makefile.am |2 +- xts5/Xt9/.gitignore | 33 +++ xts5/Xt9/Makefile.am | 61 ++ 4 files changed, 96 insertions(+), 1

[PATCH test/xts 14/18] Build Xt13

2012-07-24 Thread Peter Harris
Signed-off-by: Peter Harris phar...@opentext.com --- configure.ac |1 + xts5/Makefile.am |2 +- xts5/Xt13/.gitignore | 39 + xts5/Xt13/Makefile.am | 64 + 4 files changed, 105 insertions(+), 1

Re: [Xcb] xb/proto portion of [PULL v3] XResource extension v1.2

2012-04-24 Thread Peter Harris
that. It would be nice to express that the padding isn't part of the data. Or does it automatically get padded to 4 bytes? It will automatically get padded to the natural alignment of the next thing on the wire. Since it is a list of CARD32s, there shouldn't be any padding required. Peter Harris

Re: [PATCH xf86-input-synaptics 07/10] Add touch valuator mask to hw state structure

2012-02-09 Thread Peter Harris
spec, and it doesn't appear to mention anything about omitting the middle term. I'm not the best at reading this style of standardese, though, so you might want to double check: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf Peter Harris -- Open Text Connectivity

Re: [xproto: PATCH] Xmd.h: amd64-x32 ABI defines sizeof(long) == sizeof (void*) == 4

2012-01-03 Thread Peter Harris
a decade. Please don't try to change the meaning now. Peter Harris -- Open Text Connectivity Solutions Group Peter Harrishttp://connectivity.opentext.com/ Research and DevelopmentPhone: +1 905 762 6001 phar...@opentext.comToll Free: 1 877 359

Re: valgrind errors in X server

2011-10-11 Thread Peter Harris
) ==3355==by 0x6DCE37F: inflateInit2_ (in /usr/lib/libz.so.1.2.3.4) ==3355==by 0x5B65E95: BufFilePushZIP (in /usr/lib/libXfont.so.1.4.1) This is a known poor interaction between zlib and valgrind: http://zlib.net/zlib_faq.html#faq36 This particular report is safe to ignore. Peter Harris

Re: [PULL] prep work for screen crossing fixes

2011-10-04 Thread Peter Harris
desktops (and display managers) typically interpret that as Primary screen starts at 0,0 so they know which monitor the user wants the main menu button/bar (or login dialog) on. (Explicit SetPrimary/GetPrimary requests were only added in randr 1.3) Peter Harris -- Open Text Connectivity

Re: [PATCH 2/8] Use correct swap{l,s} (or none at all for CARD8)

2011-08-17 Thread Peter Harris
); - swapl(rep.type); + swaps(rep.dfltKbdFB); + swaps(rep.dfltLedFB); + swapl(rep.devType); Otherwise, Reviewed-by: Peter Harris phar...@opentext.com Thanks for fixing up swapping. Peter Harris -- Open Text Connectivity Solutions Group Peter Harris

Re: [PATCH 3/5] Add type checking to swap macros

2011-08-16 Thread Peter Harris
. Thanks, Peter Harris -- Open Text Connectivity Solutions Group Peter Harrishttp://connectivity.opentext.com/ Research and DevelopmentPhone: +1 905 762 6001 phar...@opentext.comToll Free: 1 877 359 4866

Re: moving subwindow

2011-03-08 Thread Peter Harris
of those have source code available so you can see how they did it. Peter Harris -- Open Text Connectivity Solutions Group Peter Harrishttp://connectivity.opentext.com/ Research and DevelopmentPhone: +1 905 762 6001 phar...@opentext.comToll Free: 1

Re: Memory corruption with xbindkeys and xcb 1.7-2 (debian)

2011-03-07 Thread Peter Harris
(not xcb) issue: https://bugs.freedesktop.org/show_bug.cgi?id=32072 which references: https://bugs.archlinux.org/task/21924 which says it's fixed in xbindkeys 1.8.4. Debian is still on 1.8.3. Peter Harris -- Open Text Connectivity Solutions Group Peter Harrishttp

Re: [PATCH modular] xcb-util: not required to build The X C Binding (XCB) library for X

2011-03-07 Thread Peter Harris
exported atoms[1]. I believe that's all it depended on from xcb-atom. Someone with more autofoo than I could modify the xlsclients build to not depend on xcb-atom.pc. Peter Harris [1] Since the split-up xcb util dropped them entirely. -- Open Text Connectivity Solutions Group Peter

Re: Handling GenericEvents in XSendEvent()

2010-12-21 Thread Peter Harris
On 2010-12-21 10:46, Daniel Stone wrote: Cool, thanks. How do I get this pulled into the repos? Mail x...@? Yes, that works. Or I could pull for you. I was planning to wait for the changes to hit the server before doing so, but I can do that now if you'd prefer. Peter Harris

Re: Handling GenericEvents in XSendEvent()

2010-12-20 Thread Peter Harris
name=data / to describe the rest of the event. (See also: PutImage) git://anongit.freedesktop.org/~daniels/libxcb:ge This one looks good. Reviewed-by: Peter Harris phar...@opentext.com Peter Harris -- Open Text Connectivity Solutions Group Peter Harrishttp

Re: Handling GenericEvents in XSendEvent()

2010-12-20 Thread Peter Harris
On 2010-12-20 10:23, Daniel Stone wrote: On Mon, Dec 20, 2010 at 09:58:18AM -0500, Peter Harris wrote: This needs something like list type=BYTE name=data / to describe the rest of the event. (See also: PutImage) Rather. Ahem. Can you tell I've never used XCB before? We all have to start

Re: [RFC][PATCH 1/5] XResource extension v1.2 implementation of XResQueryClientIds

2010-12-03 Thread Peter Harris
list, per the spec: http://cgit.freedesktop.org/xorg/proto/x11proto/tree/specs/sect1-9.xml#n666 Alloc is usually only specified in the error list of requests that are likely to use lots of resources (eg CreatePixmap). Peter Harris -- Open Text Connectivity Solutions Group Peter

Re: [PATCH 07/13] dix: reshuffle WindowOptRec to fill a hole on LP64

2010-11-23 Thread Peter Harris
VisualID64, which isn't used by the core as far as I can see. VisualID is #defined to CARD32 in Xproto.h (from proto/x11proto.git). Peter Harris -- Open Text Connectivity Solutions Group Peter Harrishttp://connectivity.opentext.com/ Research and DevelopmentPhone

Re: problem with multithreaded application and Xlib

2010-09-28 Thread Peter Harris
that patch to libxcb and see if it helps? Peter Harris -- Open Text Connectivity Solutions Group Peter Harrishttp://connectivity.opentext.com/ Research and DevelopmentPhone: +1 905 762 6001 phar...@opentext.comToll Free: 1 877 359 4866

Re: problem with multithreaded application and Xlib

2010-09-28 Thread Peter Harris
or it is even more complicated ? Only the xcb library, unless you have some crazy system that statically links everything (but I don't think anyone does that any more). Peter Harris -- Open Text Connectivity Solutions Group Peter Harrishttp

Re: [PATCH xserver 2/5] xext: Add support for xGESendEventReq

2010-09-24 Thread Peter Harris
On 2010-09-24 14:29, Carlos Garnacho wrote: +static int +ProcGESendEvent(ClientPtr client) +{ I don't see event-type |= 0x80 in this function anywhere. Is the SentEvent flag set somewhere else? Peter Harris -- Open Text Connectivity Solutions Group Peter Harris

Re: [PATCH xextproto 1/5] XGE: Add xGESendEventReq

2010-09-24 Thread Peter Harris
are supported by SendEvent iff the GenericEventExtension version is = 1.1 (and add this functionality to ProcSendEvent instead). But it seems cleaner to leave the core request alone. Peter Harris -- Open Text Connectivity Solutions Group Peter Harrishttp

Re: [RFC][PATCH] dix: Skip PropertyNotify events if the property value didn't change

2010-09-20 Thread Peter Harris
when adding zero-length data using ChangeProperty and when replacing all or part of a property with identical data... http://cgit.freedesktop.org/xorg/proto/xproto/tree/specs/sect1-9.xml#n14373 Peter Harris -- Open Text Connectivity Solutions Group Peter Harris

Re: Should _XIOError really exit() ?

2010-07-29 Thread Peter Harris
that the program will exit if you return from your error handler. The common idiom is to longjmp out of your error handler if you don't want the program to exit. I will note that XCB doesn't have this misfeature. Peter Harris -- Open Text Connectivity Solutions Group Peter Harris

Re: xorg-server-1.8.99.904 tag

2010-07-13 Thread Peter Harris
(once before the tag, and once after). git-format-patch --ignore-if-in-upstream looks like it ought to help, but it only appears to work if the two end-points haven't already been merged. Hmm. Peter Harris -- Open Text Connectivity Solutions Group Peter Harris

Re: server-side xcb

2010-06-18 Thread Peter Harris
support for XKB will add support for the switch statement. I suspect that once that is in place, we can use it for GetProperty and ChangeProperty to get the swapping right. Peter Harris -- Open Text Connectivity Solutions Group Peter Harrishttp

Re: [PATCH 2/4] Rename region macros to mixed case and remove screen argument

2010-05-26 Thread Peter Harris
On 2010-05-25 23:58, Keith Packard wrote: On Tue, 25 May 2010 16:57:05 -0400, Peter Harris phar...@opentext.com wrote: Can I talk you into renaming miRectIn to something else? Do you have a suggestion? RegionRectIn seems a bit awkward to me. Oooo. An invitation to bikeshed. s/mi/dix/g

Re: [PATCH 2/4] Rename region macros to mixed case and remove screen argument

2010-05-26 Thread Peter Harris
. Or not. Purple! Peter Harris -- Open Text Connectivity Solutions Group Peter Harrishttp://connectivity.opentext.com/ Research and DevelopmentPhone: +1 905 762 6001 phar...@opentext.comToll Free: 1 877 359 4866

Re: [PATCH 2/4] Rename region macros to mixed case and remove screen argument

2010-05-25 Thread Peter Harris
'Region' to their new names. Stripping all the mi prefixes increases the likelihood of the names colliding with someone else. In fact, RectInRegion collides with a function of the same name in Win32. Can I talk you into renaming miRectIn to something else? Thanks, Peter Harris -- Open

Re: Help With setting Window Borders

2010-05-05 Thread Peter Harris
. You didn't send me a crystal ball, so I have no idea what else you may be missing. Are you setting override-redirect after the fact? That might be too late. Besides, are you really really certain that override-redirect is what you want? Did you even map the window in question? Peter Harris

Re: Help With setting Window Borders

2010-05-05 Thread Peter Harris
Harris -- Open Text Connectivity Solutions Group Peter Harrishttp://connectivity.opentext.com/ Research and DevelopmentPhone: +1 905 762 6001 phar...@opentext.comToll Free: 1 877 359 4866 ___ xorg-devel

Re: Help With setting Window Borders

2010-05-03 Thread Peter Harris
please let me know what I am doing wrong? Also how does a window border relate to the window managers decorations. Most window managers remove the border of your toplevel window. So setting border-width is only going to be visible on your internal subwindows in most cases. Peter Harris

Re: Help With setting Window Borders

2010-05-03 Thread Peter Harris
the window manager entirely. But your users won't appreciate it if you override-redirect anything that isn't a brief splash screen or a simple popup menu. If you really want a solid frame of a particular colour inside your window, you can always paint one by hand. Peter Harris

Re: libX11 and xcb

2010-04-12 Thread Peter Harris
-noop to discern the worse-case overhead of Xlib/XCB: http://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=50d5c83 Peter Harris -- Open Text Connectivity Solutions Group Peter Harrishttp://connectivity.opentext.com/ Research and DevelopmentPhone: +1 905

Re: GSoC project idea: input support for XCB

2010-03-26 Thread Peter Harris
On 2010-03-25 19:12, Peter Hutterer wrote: On Thu, Mar 25, 2010 at 10:43:46AM -0400, Peter Harris wrote: Mariusz got about as far as specifying most of XKB in xcb/proto. Unfortunately, XKB is unlike most of the rest of the extensions, and required additional syntax to be able to specify

Re: GSoC project idea: input support for XCB

2010-03-25 Thread Peter Harris
?id=4481 Peter Harris So, here is a project idea for the GSoC: One of the main area preventing XCB wide adoption over Xlib is input support. There are some information there[0] (incomplete ATM but it's a work in progress) about the current status. This SoC project involves porting

Re: [PATCH] Fix crash when all glyphs of a given depth are freed, but not all glyphsets

2010-03-23 Thread Peter Harris
tree and a pull request, make sure you state so in the patch email and the release manager is on the CC list. Is the wiki out of date? Thanks, Peter Harris -- Open Text Connectivity Solutions Group Peter Harrishttp://connectivity.opentext.com/ Research

[PATCH] Fix crash when all glyphs of a given depth are freed, but not all glyphsets

2010-03-22 Thread Peter Harris
with the FindGlyphsByHash function in 516b96387b0e57b524a37a96da22dbeeeb041712. Before that revision, ResizeGlyphSet was always called before FindGlyphRef, which would re-create globalGlyphs(depthN) if necessary. Signed-off-by: Peter Harris phar...@opentext.com --- render/glyph.c |3 +++ 1 files changed, 3

[PATCH] Don't double-swap the RandR PropertyNotify event

2010-02-12 Thread Peter Harris
The event is already swapped in randr.c/SRROutputPropertyNotifyEvent, so it should not be swapped here. X.Org Bugzilla #26511: http://bugs.freedesktop.org/show_bug.cgi?id=26511 Signed-off-by: Peter Harris phar...@opentext.com --- randr/rrproperty.c |5 - 1 files changed, 0 insertions

[PATCH] Don't double-swap the RandR PropertyNotify event

2010-02-12 Thread Peter Harris
jcristau at debian.org Signed-off-by: Peter Harris phar...@opentext.com --- randr/rrproperty.c |5 - 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/randr/rrproperty.c b/randr/rrproperty.c index 146facb..12e30e4 100644 --- a/randr/rrproperty.c +++ b/randr/rrproperty.c

Re: -fno-strict-aliasing in CWARNFLAGS?

2010-02-03 Thread Peter Harris
the programmer didn't expect if they do overlap. Peter Harris -- Open Text Connectivity Solutions Group Peter Harrishttp://connectivity.opentext.com/ Research and DevelopmentPhone: +1 905 762 6001 phar...@opentext.comToll Free: 1 877 359 4866

Re: [PATCH app-xfs 2/3] doc: remove pdf target for developer's doc

2010-01-21 Thread Peter Harris
any additional xfs traffic. Peter Harris -- Open Text Connectivity Solutions Group Peter Harrishttp://connectivity.opentext.com/ Research and DevelopmentPhone: +1 905 762 6001 phar...@opentext.comToll Free: 1 877 359 4866

Re: [PATCH] Eliminate per-test timing calibration.

2010-01-07 Thread Peter Harris
) doesn't have SIGALRM either. This hunk should probably be protected by #ifndef NEED_CALIBRATE or similar. Also, inline is a C99ism. Should that read _X_INLINE to support C89 compilers? Peter Harris -- Open Text Connectivity Solutions Group Peter Harrishttp

Re: [PATCH] Eliminate per-test timing calibration.

2010-01-07 Thread Peter Harris
On 2010-01-07 16:25, Alan Coopersmith wrote: Peter Harris wrote: Also, inline is a C99ism. Should that read _X_INLINE to support C89 compilers? Don't we already assume that level of C99 support in other modules? I don't know. I only checked x11perf. If we want to require C99, that's fine

Re: bitsPerRGBValue == 0??

2009-12-16 Thread Peter Harris
, since it always passes bitsPerRGBValue=8 to fbInitVisuals. Peter Harris -- Open Text Connectivity Solutions Group Peter Harrishttp://connectivity.opentext.com/ Research and DevelopmentPhone: +1 905 762 6001 phar...@opentext.comToll Free: 1

Re: Delay between widget background and widget contents

2009-12-07 Thread Peter Harris
(since XCB is just a thin wrapper around the protocol, and doesn't have as many 'helper' functions as libX11). You're probably better off just switching to client-side fonts (Tell your toolkit, or use a library such as fontconfig, pango, or cairo). Peter Harris -- Open Text Connectivity

Re: Delay between widget background and widget contents

2009-12-04 Thread Peter Harris
for this assertion. Especially the RENDER commands are not dissected by wireshark. Wireshark svn (and/or nightly build) has support for most extensions, including RENDER. Peter Harris -- Open Text Connectivity Solutions Group Peter Harrishttp://connectivity.opentext.com

Re: [PATH] XQuartz: Drop calls to alloca

2009-12-01 Thread Peter Harris
avoids this problem. Also, we don't have LD_LIBRARY_PRELOAD, so having everything go through the xalloc/xfree wrappers makes using a debug allocator much easier. (Detours exists, so losing xalloc/xfree wouldn't be the end of the world, but Detours is more of a pain to use) Peter Harris

Re: [Xcb] [PATCH] XCBify xlsatoms

2009-11-12 Thread Peter Harris
/005014.html http://lists.freedesktop.org/archives/xcb/2009-September/005019.html Peter Harris ___ xorg-devel mailing list xorg-devel@lists.x.org http://lists.x.org/mailman/listinfo/xorg-devel

Re: Tinderbox regression: xlsclients

2009-10-20 Thread Peter Harris
Jeremy Huddleston wrote: And if strnlen isn't available? ... I must have misread the docs. I thought autoconf was supposed to generate strnlen when it isn't available. Could somebody with better knowledge of auto* than I have please take a look at this? Thanks, Peter Harris

Re: git practices

2009-10-19 Thread Peter Harris
. But this is good because testing that commit will eliminate one of the branches (and therefore half of the commits), and then git will bisect the other one the way you'd expect. Peter Harris -- Open Text Connectivity Solutions Group Peter Harrishttp

Re: How to distinguish Window and Pixmap ID

2009-03-18 Thread Peter Harris
of PostProcessDrawable). The application that calls your library will know which one to use. This is the only method that requires zero round-trips to the server. Peter Harris [1] xcb_query_tree will allow you to issue multiple requests at once, saving round-trip delays compared to XQueryTree

<    1   2