summaryrefslogtreecommitdiff
path: root/randr
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2015-05-11 15:49:34 -0700
committerKeith Packard <keithp@keithp.com>2015-05-11 15:49:34 -0700
commitd7091a21d90cf463ae39ec5e8741123218ec5686 (patch)
treef7d31cab9b3fc54c5e3330e797dbbd37ce373f1d /randr
parentc3ce9d8fd404ca1d4697a104ce4899525dd43c51 (diff)
parent8fb8bbb3062f1a06621ab7030a9e89d5e8367b35 (diff)
Merge remote-tracking branch 'airlied/for-keithp'
Diffstat (limited to 'randr')
-rw-r--r--randr/randrstr.h9
-rw-r--r--randr/rrmonitor.c6
2 files changed, 12 insertions, 3 deletions
diff --git a/randr/randrstr.h b/randr/randrstr.h
index 438a52aeb..03974fd4f 100644
--- a/randr/randrstr.h
+++ b/randr/randrstr.h
@@ -1016,6 +1016,15 @@ RRMonitorFreeList(RRMonitorPtr monitors, int nmon);
void
RRMonitorClose(ScreenPtr screen);
+RRMonitorPtr
+RRMonitorAlloc(int noutput);
+
+int
+RRMonitorAdd(ClientPtr client, ScreenPtr screen, RRMonitorPtr monitor);
+
+void
+RRMonitorFree(RRMonitorPtr monitor);
+
int
ProcRRGetMonitors(ClientPtr client);
diff --git a/randr/rrmonitor.c b/randr/rrmonitor.c
index c4bb617b1..05285ddfd 100644
--- a/randr/rrmonitor.c
+++ b/randr/rrmonitor.c
@@ -389,13 +389,13 @@ RRMonitorCountList(ScreenPtr screen)
return nmon;
}
-static void
+void
RRMonitorFree(RRMonitorPtr monitor)
{
free(monitor);
}
-static RRMonitorPtr
+RRMonitorPtr
RRMonitorAlloc(int noutput)
{
RRMonitorPtr monitor;
@@ -451,7 +451,7 @@ RRMonitorMatchesOutputName(ScreenPtr screen, Atom name)
return FALSE;
}
-static int
+int
RRMonitorAdd(ClientPtr client, ScreenPtr screen, RRMonitorPtr monitor)
{
rrScrPrivPtr pScrPriv = rrGetScrPriv(screen);