miinitext: General cleanup (v2)

This really just wants to be the list of disable booleans and
initialization functions, and nothing else. Stop including the protocol
headers from extinit.h, remove a stray mention of xgl, and move an
XInput declaration to a better place.

v2: A bunch of drivers assume they'll get the DPMS tokens implicitly,
so add it to globals.h.

Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Adam Jackson
2018-01-10 13:05:42 -05:00
parent 4d5aab66c0
commit c2b2f06aa0
6 changed files with 25 additions and 40 deletions

View File

@@ -57,6 +57,10 @@ SOFTWARE.
#include "geext.h"
#include "privates.h"
extern _X_EXPORT void AssignTypeAndName(DeviceIntPtr dev,
Atom type,
const char *name);
#define BitIsOn(ptr, bit) (!!(((const BYTE *) (ptr))[(bit)>>3] & (1 << ((bit) & 7))))
#define SetBit(ptr, bit) (((BYTE *) (ptr))[(bit)>>3] |= (1 << ((bit) & 7)))
#define ClearBit(ptr, bit) (((BYTE *)(ptr))[(bit)>>3] &= ~(1 << ((bit) & 7)))