summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2018-02-05randr: Add non-desktop output property and behaviors [v3]drm-leaseKeith Packard1-0/+1
non-desktop devices are those to which the normal desktop environment should not be extended. Examples are Head-mounted displays and the Apple Touch Bar. How an output device is set to non-desktop is not part of this proposal; it is expected that the underlying operating system will provide this information and have it reflected to X applications through this extension. v2: fix puncutation and duplicated 'the'. v3: switch to 32-bit property named non-desktop to match Linux Signed-off-by: Keith Packard <keithp@keithp.com>
2018-02-05randr: Add Leases. [v5]Keith Packard2-3/+69
A "lease" is a set of crtc and output resources granted to another application for use outside of X. These will not be usable through the X protocol until the lease terminates. Leased outputs will be seen as disconnected, leased CRTCs will be seen as not usable with any output. v2: Delete output grabs Add LeaseNotify events Add FreeLease with option to terminate v3: Clarify a couple of lease behaviors: * You can lease an in-use object, it makes the X server stop using it, you don't get an error back. * There's no explicit 'Disabled' state for a crtc, when a crtc is disabled, it just has a set of reported values for GetCrtcInfo. v4: Integrate into merged xorgproto repo v5: (Adam Jackson) Also update randrproto version in meson.build Signed-off-by: Keith Packard <keithp@keithp.com>
2018-02-01meson: Spread the install rules into their subdirsAdam Jackson8-0/+214
Mostly this is is so the generated Xpoll.h can be emitted into a usable directory when we build as a subproject. Signed-off-by: Adam Jackson <ajax@redhat.com>
2018-02-01xproto: Stop generating Xfuncproto.hAdam Jackson1-0/+0
This no longer varies at compile time, yay. Signed-off-by: Adam Jackson <ajax@redhat.com>
2018-02-01xproto: Stop "computing" a value for FUNCPROTOAdam Jackson1-1/+1
This macro is apparently an imake-ism for how much C89 you support. Seeing as it's 2018 the answer is "all of it", and if that's not actually true for your platform you need a better compiler. Signed-off-by: Adam Jackson <ajax@redhat.com>
2018-02-01xproto: Move NARROWPROTO logic out of configure timeAdam Jackson1-2/+3
Signed-off-by: Adam Jackson <ajax@redhat.com>
2018-01-30Move the headers under include/X11/...Adam Jackson150-0/+37932
I kinda hate to do this, it was nice to have everything in one place. However, the meson build wants to be able to wrap this module as a dependency, and code that depends on these headers includes them in the form: #include <X11/Xfuncproto.h> As a result, any include path meson can construct needs to point to the root of a hierarchy that has the same path layout as an installed copy, hence this change. Signed-off-by: Adam Jackson <ajax@redhat.com>
2017-11-06Move headers into structured include directoryDylan Baker5-0/+3410
So that meson can use that as an include path for dependencies. Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>