diff options
Diffstat (limited to 'randr')
-rw-r--r-- | randr/randrstr.h | 9 | ||||
-rw-r--r-- | randr/rrmonitor.c | 6 |
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); |