summaryrefslogtreecommitdiff
path: root/randr/randrstr.h
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-12-09 10:51:37 -0500
committerAdam Jackson <ajax@redhat.com>2008-12-10 11:31:21 -0500
commit9d58d2a319059989ccdfa758f586149ccdc16df6 (patch)
tree299e451503e83305c8bc61af63eedeeaa79d55ec /randr/randrstr.h
parentd281866b74f7067f2704c278fe9720eafc0ee5ef (diff)
randr: Add [GS]etOutputPrimary
Diffstat (limited to 'randr/randrstr.h')
-rw-r--r--randr/randrstr.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/randr/randrstr.h b/randr/randrstr.h
index 0cc4ff7ee..b868144d5 100644
--- a/randr/randrstr.h
+++ b/randr/randrstr.h
@@ -2,6 +2,7 @@
* Copyright © 2000 Compaq Computer Corporation
* Copyright © 2002 Hewlett-Packard Company
* Copyright © 2006 Intel Corporation
+ * Copyright © 2008 Red Hat, Inc.
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
@@ -272,6 +273,7 @@ typedef struct _rrScrPriv {
int numOutputs;
RROutputPtr *outputs;
+ RROutputPtr primaryOutput;
int numCrtcs;
RRCrtcPtr *crtcs;
@@ -811,6 +813,12 @@ RROutputDestroy (RROutputPtr output);
extern _X_EXPORT int
ProcRRGetOutputInfo (ClientPtr client);
+extern int
+ProcRRSetOutputPrimary (ClientPtr client);
+
+extern int
+ProcRRGetOutputPrimary (ClientPtr client);
+
/*
* Initialize output type
*/