summaryrefslogtreecommitdiff
path: root/src/screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screen.c b/src/screen.c
index e93e045..d80d174 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);