Re: a couple more stupid x related questions

Keith Packard <[email protected]>
Newsgroups gmane.comp.freedesktop.xserver
Message-ID <[email protected]>
Around 0 o'clock on Feb 21, Jaymz Julian wrote:

>  Of course, when I try and create a second picture from the same window,
> the xserver returns an error, which is rather unhandy(tm).

That shouldn't cause an error; perhaps there's something odd in how you 
create the second picture?

> Having looked stupid, we hit problem #2.  Is there a simple way that already
> exists to have damage make the change boxes it generates slightly larger than
> what is required?

You could take the region, copy it and union in four translated versions.

Alternatively, you could expose a 'grow region' primitive in XFIXES.  I 
believe the Mac and Windows APIs have examples of how this should be 
specified; I'd look at the Mac version first.

Thanks for getting convolutions working.

-keith
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Exmh version 2.3.1 11/28/2001

iD8DBQFAOME2Qp8BWwlsTdMRAg7CAKCnp6KUh2YzBcZW1TiXTuuCqkoxRACfT1yE
+yOGgxGpNHdNq7TxKl3jF9U=
=tFZR
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.