Changeset 92992 in vbox for trunk/include/VBox
- Timestamp:
- Dec 16, 2021 6:06:19 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 148976
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/xrandr.h
r92989 r92992 34 34 #include <iprt/stdarg.h> 35 35 36 #include <X11/Xlibint.h>37 #include <X11/extensions/Xrandr.h>38 39 36 #ifndef __cplusplus 40 37 # error "This header requires C++ to avoid name clashes." 41 38 #endif 39 40 /* Define missing X11/XRandr structures, types and macros. */ 41 42 #define Bool int 43 #define RRScreenChangeNotifyMask (1L << 0) 44 #define RRScreenChangeNotify 0 45 46 struct _XDisplay; 47 typedef struct _XDisplay Display; 48 49 typedef unsigned long Atom; 50 typedef unsigned long XID; 51 typedef XID RROutput; 52 typedef XID Window; 53 54 struct XRRMonitorInfo 55 { 56 Atom name; 57 Bool primary; 58 Bool automatic; 59 int noutput; 60 int x; 61 int y; 62 int width; 63 int height; 64 int mwidth; 65 int mheight; 66 RROutput *outputs; 67 }; 68 typedef struct XRRMonitorInfo XRRMonitorInfo; 69 42 70 43 71 /* Declarations of the functions that we need from libXrandr */
Note:
See TracChangeset
for help on using the changeset viewer.