VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/4.2/include/extensions/Xinerama.h@ 17234

Last change on this file since 17234 was 17234, checked in by vboxsync, 16 years ago

Additions/x11/x11include: blast! Corrected svn:keywords property on all files as per http://linserv.germany/vbox/wiki/SvnKeywords

  • Property svn:eol-style set to native
File size: 842 bytes
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
6typedef struct {
7 int screen_number;
8 short x_org;
9 short y_org;
10 short width;
11 short height;
12} XineramaScreenInfo;
13
14Bool XineramaQueryExtension (
15 Display *dpy,
16 int *event_base,
17 int *error_base
18);
19
20Status XineramaQueryVersion(
21 Display *dpy,
22 int *major,
23 int *minor
24);
25
26Bool 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
37XineramaScreenInfo *
38XineramaQueryScreens(
39 Display *dpy,
40 int *number
41);
42
43#endif /* _Xinerama_h */
44
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette