fix compilation on Solaris, patch from Satyajit Kanungo

2002-09-30  Havoc Pennington  <hp@pobox.com>

	* src/screen.c (reload_xinerama_infos): fix compilation on
	Solaris, patch from Satyajit Kanungo
This commit is contained in:
Havoc Pennington 2002-09-30 13:58:56 +00:00 committed by Havoc Pennington
parent e802acf413
commit 3407dffed0
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-09-30 Havoc Pennington <hp@pobox.com>
* src/screen.c (reload_xinerama_infos): fix compilation on
Solaris, patch from Satyajit Kanungo
2002-09-29 Havoc Pennington <hp@pobox.com> 2002-09-29 Havoc Pennington <hp@pobox.com>
* src/eggaccelerators.c: update from libegg to get fix from Ralph * src/eggaccelerators.c: update from libegg to get fix from Ralph

View File

@ -253,7 +253,7 @@ reload_xinerama_infos (MetaScreen *screen)
int i; int i;
n_monitors = 0; n_monitors = 0;
result = XineramaGetInfo (screen->xdisplay, result = XineramaGetInfo (screen->display->xdisplay,
screen->number, screen->number,
monitors, hints, monitors, hints,
&n_monitors); &n_monitors);