diff options
author | Soren Sandmann Pedersen <ssp@dhcp83-218.boston.redhat.com> | 2007-05-12 17:41:47 -0400 |
---|---|---|
committer | Soren Sandmann Pedersen <ssp@dhcp83-218.boston.redhat.com> | 2007-05-15 11:13:15 -0400 |
commit | dde0ceac4ea7639d0096bfd26f37c5851778854c (patch) | |
tree | f1fd917f55750d42c2195d7a564da2fc7546c7d5 /mi | |
parent | e037052ac522150786abf44d3a04c813cc490050 (diff) |
Add new InitRegions() function called from dix/main
Diffstat (limited to 'mi')
-rw-r--r-- | mi/miregion.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mi/miregion.c b/mi/miregion.c index 0eab6623a..4bfe9c722 100644 --- a/mi/miregion.c +++ b/mi/miregion.c @@ -85,6 +85,7 @@ Equipment Corporation. #include "gc.h" #include "mi.h" #include "mispans.h" +#include <pixman/pixman.h> #undef assert #ifdef DEBUG @@ -218,6 +219,12 @@ _X_EXPORT RegDataRec miEmptyData = {0, 0}; RegDataRec miBrokenData = {0, 0}; static RegionRec miBrokenRegion = { { 0, 0, 0, 0 }, &miBrokenData }; +extern void +InitRegions (void) +{ + pixman_region_set_static_pointers (&miEmptyBox, &miEmptyData, &miBrokenData); +} + _X_EXPORT void miPrintRegion(rgn) RegionPtr rgn; |