tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

Xrandr.h (951B)


      1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
      2 /* vim: set ts=2 et sw=2 tw=80: */
      3 /* This Source Code Form is subject to the terms of the Mozilla Public
      4 * License, v. 2.0. If a copy of the MPL was not distributed with this
      5 * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
      6 
      7 // Hack to compensate for the old (<1.5) Xrandr development headers on
      8 // Mozilla's build boxes.
      9 
     10 #ifndef DOM_MEDIA_WEBRTC_LIBWEBRTCOVERRIDES_X11_EXTENSIONS_XRANDR_H_
     11 #define DOM_MEDIA_WEBRTC_LIBWEBRTCOVERRIDES_X11_EXTENSIONS_XRANDR_H_
     12 
     13 #include_next <X11/extensions/Xrandr.h>
     14 
     15 #if RANDR_MAJOR == 1 && RANDR_MINOR < 5  // defined in randr.h
     16 typedef struct _XRRMonitorInfo {
     17  Atom name;
     18  Bool primary;
     19  Bool automatic;
     20  int noutput;
     21  int x;
     22  int y;
     23  int width;
     24  int height;
     25  int mwidth;
     26  int mheight;
     27  RROutput* outputs;
     28 } XRRMonitorInfo;
     29 #endif
     30 
     31 #endif  // DOM_MEDIA_WEBRTC_LIBWEBRTCOVERRIDES_X11_EXTENSIONS_XRANDR_H_