From 3407dffed03a40254a73ab4a8c2ae29fa025cb1a Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Mon, 30 Sep 2002 13:58:56 +0000 Subject: [PATCH] fix compilation on Solaris, patch from Satyajit Kanungo 2002-09-30 Havoc Pennington * src/screen.c (reload_xinerama_infos): fix compilation on Solaris, patch from Satyajit Kanungo --- ChangeLog | 5 +++++ src/screen.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3198f08e6..f36eb7a78 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-09-30 Havoc Pennington + + * src/screen.c (reload_xinerama_infos): fix compilation on + Solaris, patch from Satyajit Kanungo + 2002-09-29 Havoc Pennington * src/eggaccelerators.c: update from libegg to get fix from Ralph diff --git a/src/screen.c b/src/screen.c index e93e045e4..d80d1748d 100644 --- a/src/screen.c +++ b/src/screen.c @@ -253,7 +253,7 @@ reload_xinerama_infos (MetaScreen *screen) int i; n_monitors = 0; - result = XineramaGetInfo (screen->xdisplay, + result = XineramaGetInfo (screen->display->xdisplay, screen->number, monitors, hints, &n_monitors);