summaryrefslogtreecommitdiff
path: root/uxa/uxa.c
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2008-08-26 22:24:36 -0400
committerEamon Walsh <ewalsh@tycho.nsa.gov>2008-08-26 22:34:05 -0400
commit808b72f81454061c815321e51a9b9f925c4bf786 (patch)
treef2bd7fbc769c149b04d996616d02c67c6d335dcc /uxa/uxa.c
parent62ce9e8f9c8cc2014645d58f4249c496aebc36e8 (diff)
Change uxa private keys to integer variables.
Prepares for a devPrivates system that will store an index.
Diffstat (limited to 'uxa/uxa.c')
-rw-r--r--uxa/uxa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/uxa/uxa.c b/uxa/uxa.c
index aac3d686..8658406a 100644
--- a/uxa/uxa.c
+++ b/uxa/uxa.c
@@ -39,7 +39,7 @@
#include "dixfontstr.h"
#include "uxa.h"
-DevPrivateKey uxa_screen_key = &uxa_screen_key;
+int uxa_screen_index;
/**
* uxa_get_drawable_pixmap() returns a backing pixmap for a given drawable.
@@ -422,7 +422,7 @@ uxa_driver_init(ScreenPtr screen, uxa_driver_t *uxa_driver)
uxa_screen->info = uxa_driver;
- dixSetPrivate(&screen->devPrivates, uxa_screen_key, uxa_screen);
+ dixSetPrivate(&screen->devPrivates, &uxa_screen_index, uxa_screen);
// exaDDXDriverInit(screen);