~ubuntu-branches/ubuntu/gutsy/vnc4/gutsy

« back to all changes in this revision

Viewing changes to unix/xc/include/extensions/Xinerama.h

  • Committer: Bazaar Package Importer
  • Author(s): Ola Lundqvist
  • Date: 2006-05-15 20:35:17 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060515203517-l4lre1ku942mn26k
Tags: 4.1.1+X4.3.0-10
* Correction of critical security issue. Thanks to Martin Kogler
  <e9925248@student.tuwien.ac.at> that informed me about the issue,
  and provided the patch.
  This flaw was originally found by Steve Wiseman of intelliadmin.com.
* Applied patch from Javier Kohen <jkohen@users.sourceforge.net> that
  inform the user that only 8 first characters of the password will
  actually be used when typing more than 8 characters, closes:
  #355619.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $XFree86: xc/include/extensions/Xinerama.h,v 3.3 2002/09/16 18:05:19 eich 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
_XFUNCPROTOBEGIN
 
15
 
 
16
Bool XineramaQueryExtension (
 
17
   Display *dpy,
 
18
   int     *event_base,
 
19
   int     *error_base
 
20
);
 
21
 
 
22
Status XineramaQueryVersion(
 
23
   Display *dpy,
 
24
   int     *major,
 
25
   int     *minor
 
26
);
 
27
 
 
28
Bool XineramaIsActive(Display *dpy);
 
29
 
 
30
 
 
31
/* 
 
32
   Returns the number of heads and a pointer to an array of
 
33
   structures describing the position and size of the individual
 
34
   heads.  Returns NULL and number = 0 if Xinerama is not active.
 
35
  
 
36
   Returned array should be freed with XFree().
 
37
*/
 
38
 
 
39
XineramaScreenInfo * 
 
40
XineramaQueryScreens(
 
41
   Display *dpy,
 
42
   int     *number
 
43
);
 
44
 
 
45
_XFUNCPROTOEND
 
46
 
 
47
#endif /* _Xinerama_h */
 
48