summaryrefslogtreecommitdiff
path: root/include/X11
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-12-08 15:37:53 -0500
committerAdam Jackson <ajax@redhat.com>2008-12-08 15:37:53 -0500
commit59c8812099f33d56b43044f999ffe5df16adf5ff (patch)
tree2a36682ff006101dccb75024112be5d55f8ff768 /include/X11
parent0f11922bdc0d4e3929df4dc967379ea0b48338b8 (diff)
Add [GS]etOutputPrimary
Diffstat (limited to 'include/X11')
-rw-r--r--include/X11/extensions/Xrandr.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/X11/extensions/Xrandr.h b/include/X11/extensions/Xrandr.h
index 80d9d47..a411321 100644
--- a/include/X11/extensions/Xrandr.h
+++ b/include/X11/extensions/Xrandr.h
@@ -2,6 +2,7 @@
* Copyright © 2000 Compaq Computer Corporation, Inc.
* Copyright © 2002 Hewlett-Packard Company, Inc.
* 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
@@ -440,6 +441,15 @@ XRRSetPanning (Display *dpy,
RRCrtc crtc,
XRRPanning *panning);
+void
+XRRSetOutputPrimary(Display *dpy,
+ Window window,
+ RROutput output);
+
+RROutput
+XRRGetOutputPrimary(Display *dpy,
+ Window window);
+
_XFUNCPROTOEND
#endif /* _XRANDR_H_ */