Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
3ba31659
Commit
3ba31659
authored
Jan 01, 2016
by
Mike Gabriel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix
c4a38893
. Add forgotten file nx-X11/programs/Xserver/Xinerama_nxagent.h.
parent
12b4a0e7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
74 additions
and
0 deletions
+74
-0
Xinerama_nxagent.h
...rograms/Xserver/hw/nxagent/X11/include/Xinerama_nxagent.h
+74
-0
No files found.
nx-X11/programs/Xserver/hw/nxagent/X11/include/Xinerama_nxagent.h
0 → 100644
View file @
3ba31659
/*
Copyright 2003 The Open Group
Permission to use, copy, modify, distribute, and sell this software and its
documentation for any purpose is hereby granted without fee, provided that
the above copyright notice appear in all copies and that both that
copyright notice and this permission notice appear in supporting
documentation.
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Except as contained in this notice, the name of The Open Group shall not be
used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from The Open Group.
*/
#ifndef _Xinerama_h
#define _Xinerama_h
#include <nx-X11/Xlib.h>
typedef
struct
{
int
screen_number
;
short
x_org
;
short
y_org
;
short
width
;
short
height
;
}
XineramaScreenInfo
;
_XFUNCPROTOBEGIN
Bool
XineramaQueryExtension
(
Display
*
dpy
,
int
*
event_base
,
int
*
error_base
);
Status
XineramaQueryVersion
(
Display
*
dpy
,
int
*
major_versionp
,
int
*
minor_versionp
);
Bool
XineramaIsActive
(
Display
*
dpy
);
/*
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().
*/
XineramaScreenInfo
*
XineramaQueryScreens
(
Display
*
dpy
,
int
*
number
);
_XFUNCPROTOEND
#endif
/* _Xinerama_h */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment