Filter out cursors from drm planes

This commit is contained in:
loki
2021-08-13 16:09:05 +02:00
parent 446c8ace82
commit 898d62bad9
2 changed files with 33 additions and 20 deletions

View File

@@ -57,22 +57,6 @@ _FN(Free, int, (void *data));
_FN(InitThreads, Status, (void));
namespace rr {
using Mode = XID;
using Output = XID;
struct CrtcInfo {
Time timestamp;
int x, y;
unsigned int width, height;
Mode mode;
Rotation rotation;
int noutput;
Output *outputs;
Rotation rotations;
int npossible;
Output *possible;
};
_FN(GetScreenResources, XRRScreenResources *, (Display * dpy, Window window));
_FN(GetOutputInfo, XRROutputInfo *, (Display * dpy, XRRScreenResources *resources, RROutput output));
_FN(GetCrtcInfo, XRRCrtcInfo *, (Display * dpy, XRRScreenResources *resources, RRCrtc crtc));