RetroArch
xinerama_common.h
Go to the documentation of this file.
1 /* RetroArch - A frontend for libretro.
2  * Copyright (C) 2010-2014 - Hans-Kristian Arntzen
3  * Copyright (C) 2011-2017 - Daniel De Matteis
4  *
5  * RetroArch is free software: you can redistribute it and/or modify it under the terms
6  * of the GNU General Public License as published by the Free Software Found-
7  * ation, either version 3 of the License, or (at your option) any later version.
8  *
9  * RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
10  * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  * PURPOSE. See the GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License along with RetroArch.
14  * If not, see <http://www.gnu.org/licenses/>.
15  */
16 
17 #ifndef XINERAMA_COMMON_H__
18 #define XINERAMA_COMMON_H__
19 
20 #include <boolean.h>
21 
22 #include "x11_common.h"
23 
24 void xinerama_save_last_used_monitor(Window win);
25 
26 bool xinerama_get_coord(Display *dpy, int screen,
27  int *x, int *y, unsigned *w, unsigned *h);
28 
29 unsigned xinerama_get_monitor(Display *dpy,
30  int x, int y, int w, int h);
31 
32 #endif
33 
bool xinerama_get_coord(Display *dpy, int screen, int *x, int *y, unsigned *w, unsigned *h)
GLint GLint GLint GLint GLint GLint y
Definition: glext.h:6295
GLint GLint GLint GLint GLint x
Definition: glext.h:6295
unsigned xinerama_get_monitor(Display *dpy, int x, int y, int w, int h)
void xinerama_save_last_used_monitor(Window win)
GLubyte GLubyte GLubyte GLubyte w
Definition: glext.h:6742
GLfloat GLfloat GLfloat GLfloat h
Definition: glext.h:8390