Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Latest commit

 

History

History
37 lines (26 loc) · 957 Bytes

File metadata and controls

37 lines (26 loc) · 957 Bytes
 
1
2
3
4
5
/* $XFree86: xc/include/extensions/Xinerama.h,v 3.2 2000/03/01 01:04:20 dawes Exp $ */
#ifndef _Xinerama_h
#define _Xinerama_h
Mar 5, 2002
Mar 5, 2002
6
#include "SDL_name.h"
May 28, 2006
May 28, 2006
8
9
10
11
12
13
14
typedef struct
{
int screen_number;
short x_org;
short y_org;
short width;
short height;
May 29, 2006
May 29, 2006
15
} SDL_NAME(XineramaScreenInfo);
May 29, 2006
May 29, 2006
17
18
Bool SDL_NAME(XineramaQueryExtension) (Display * dpy,
int *event_base, int *error_base);
May 29, 2006
May 29, 2006
20
Status SDL_NAME(XineramaQueryVersion) (Display * dpy, int *major, int *minor);
May 29, 2006
May 29, 2006
22
Bool SDL_NAME(XineramaIsActive) (Display * dpy);
23
24
25
26
27
28
29
30
31
32
/*
Returns the number of heads and a pointer to an array of
structures describing the position and size of the individual
heads. Returns NULL and number = 0 if Xinerama is not active.
Returned array should be freed with XFree().
*/
May 29, 2006
May 29, 2006
33
34
SDL_NAME(XineramaScreenInfo) *
SDL_NAME(XineramaQueryScreens) (Display * dpy, int *number);
35
36
#endif /* _Xinerama_h */
May 28, 2006
May 28, 2006
37
/* vi: set ts=4 sw=4 expandtab: */