summaryrefslogtreecommitdiff
path: root/randrscope.h
blob: 4cfdd4d7240e2b55925695b3a78495326b04ba32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef _RANDRSCOPE_H_
#define _RANDRSCOPE_H_

#define RANDRREQUESTHEADER  "RANDRREQUEST"
#define RANDRREPLYHEADER    "RANDRREPLY"

/*
  To aid in making the choice between level 1 and level 2, we
  define the following define, which does not print relatively
  unimportant fields.
*/

#define printfield(a,b,c,d,e) if (Verbose > 1) PrintField(a,b,c,d,e)

extern void RandrQueryVersion(FD fd, const unsigned char *buf);
extern void RandrQueryVersionReply(FD fd, const unsigned char *buf);
extern void RandrGetScreenInfo(FD fd, const unsigned char *buf);
extern void RandrGetScreenInfoReply(FD fd, const unsigned char *buf);
extern void RandrSetScreenConfig(FD fd, const unsigned char *buf);
extern void RandrSetScreenConfigReply(FD fd, const unsigned char *buf);
extern void RandrScreenChangeSelectInput(FD fd, const unsigned char *buf);
extern void RandrScreenSizes(const unsigned char *buf);
extern void RandrScreenChangeNotifyEvent(const unsigned char *buf);

#endif