Line | |
---|
1 | /* $XFree86: xc/include/extensions/Xinerama.h,v 3.2 2000/03/01 01:04:20 dawes Exp $ */
|
---|
2 |
|
---|
3 | #ifndef _Xinerama_h
|
---|
4 | #define _Xinerama_h
|
---|
5 |
|
---|
6 | typedef struct {
|
---|
7 | int screen_number;
|
---|
8 | short x_org;
|
---|
9 | short y_org;
|
---|
10 | short width;
|
---|
11 | short height;
|
---|
12 | } XineramaScreenInfo;
|
---|
13 |
|
---|
14 | Bool XineramaQueryExtension (
|
---|
15 | Display *dpy,
|
---|
16 | int *event_base,
|
---|
17 | int *error_base
|
---|
18 | );
|
---|
19 |
|
---|
20 | Status XineramaQueryVersion(
|
---|
21 | Display *dpy,
|
---|
22 | int *major,
|
---|
23 | int *minor
|
---|
24 | );
|
---|
25 |
|
---|
26 | Bool XineramaIsActive(Display *dpy);
|
---|
27 |
|
---|
28 |
|
---|
29 | /*
|
---|
30 | Returns the number of heads and a pointer to an array of
|
---|
31 | structures describing the position and size of the individual
|
---|
32 | heads. Returns NULL and number = 0 if Xinerama is not active.
|
---|
33 |
|
---|
34 | Returned array should be freed with XFree().
|
---|
35 | */
|
---|
36 |
|
---|
37 | XineramaScreenInfo *
|
---|
38 | XineramaQueryScreens(
|
---|
39 | Display *dpy,
|
---|
40 | int *number
|
---|
41 | );
|
---|
42 |
|
---|
43 | #endif /* _Xinerama_h */
|
---|
44 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.