declare screen_x11 variable to fix build w/ xinerama

2002-08-02  jacob berkman  <jacob@ximian.com>

	* gdk/x11/gdkscreen-x11.c (check_xfree_xinerama): declare
	screen_x11 variable to fix build w/ xinerama
This commit is contained in:
jacob berkman 2002-08-02 16:28:29 +00:00 committed by Jacob Berkman
parent d5f0576cf4
commit 184a45caff
7 changed files with 31 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2002-08-02 jacob berkman <jacob@ximian.com>
* gdk/x11/gdkscreen-x11.c (check_xfree_xinerama): declare
screen_x11 variable to fix build w/ xinerama
Fri Aug 2 00:43:15 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkdrawable-x11.[ch] gdk/x11/gdkgc-x11.c

View File

@ -1,3 +1,8 @@
2002-08-02 jacob berkman <jacob@ximian.com>
* gdk/x11/gdkscreen-x11.c (check_xfree_xinerama): declare
screen_x11 variable to fix build w/ xinerama
Fri Aug 2 00:43:15 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkdrawable-x11.[ch] gdk/x11/gdkgc-x11.c

View File

@ -1,3 +1,8 @@
2002-08-02 jacob berkman <jacob@ximian.com>
* gdk/x11/gdkscreen-x11.c (check_xfree_xinerama): declare
screen_x11 variable to fix build w/ xinerama
Fri Aug 2 00:43:15 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkdrawable-x11.[ch] gdk/x11/gdkgc-x11.c

View File

@ -1,3 +1,8 @@
2002-08-02 jacob berkman <jacob@ximian.com>
* gdk/x11/gdkscreen-x11.c (check_xfree_xinerama): declare
screen_x11 variable to fix build w/ xinerama
Fri Aug 2 00:43:15 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkdrawable-x11.[ch] gdk/x11/gdkgc-x11.c

View File

@ -1,3 +1,8 @@
2002-08-02 jacob berkman <jacob@ximian.com>
* gdk/x11/gdkscreen-x11.c (check_xfree_xinerama): declare
screen_x11 variable to fix build w/ xinerama
Fri Aug 2 00:43:15 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkdrawable-x11.[ch] gdk/x11/gdkgc-x11.c

View File

@ -1,3 +1,8 @@
2002-08-02 jacob berkman <jacob@ximian.com>
* gdk/x11/gdkscreen-x11.c (check_xfree_xinerama): declare
screen_x11 variable to fix build w/ xinerama
Fri Aug 2 00:43:15 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkdrawable-x11.[ch] gdk/x11/gdkgc-x11.c

View File

@ -415,6 +415,7 @@ check_xfree_xinerama (GdkScreen *screen)
#ifdef HAVE_XFREE_XINERAMA
if (XineramaIsActive (GDK_SCREEN_XDISPLAY (screen)))
{
GdkScreenX11 *screen_x11 = GDK_SCREEN_X11 (screen);
XineramaScreenInfo *monitors = XineramaQueryScreens (GDK_SCREEN_XDISPLAY (screen),
&screen_x11->num_monitors);
if (screen_x11->num_monitors <= 0)