Source code
Revision control
Copy as Markdown
Other Tools
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
// Hack to compensate for the old (<1.5) Xrandr development headers on
// Mozilla's build boxes.
#ifndef DOM_MEDIA_WEBRTC_LIBWEBRTCOVERRIDES_X11_EXTENSIONS_XRANDR_H_
#define DOM_MEDIA_WEBRTC_LIBWEBRTCOVERRIDES_X11_EXTENSIONS_XRANDR_H_
#include_next <X11/extensions/Xrandr.h>
#if RANDR_MAJOR == 1 && RANDR_MINOR < 5 // defined in randr.h
typedef struct _XRRMonitorInfo {
Atom name;
Bool primary;
Bool automatic;
int noutput;
int x;
int y;
int width;
int height;
int mwidth;
int mheight;
RROutput* outputs;
} XRRMonitorInfo;
#endif
#endif // DOM_MEDIA_WEBRTC_LIBWEBRTCOVERRIDES_X11_EXTENSIONS_XRANDR_H_