Use XRRGetScreenResourcesCurrent in both places.

This commit is contained in:
bearoso 2018-05-04 20:21:20 -05:00 committed by GitHub
parent a1f8cf3807
commit 82f3dc4e60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1595,7 +1595,7 @@ S9xQueryDrivers (void)
}
gui_config->allow_xrandr = 1;
gui_config->xrr_screen_resources = XRRGetScreenResources (dpy, xid);
gui_config->xrr_screen_resources = XRRGetScreenResourcesCurrent (dpy, xid);
gui_config->xrr_crtc_info = XRRGetCrtcInfo (dpy,
gui_config->xrr_screen_resources,
gui_config->xrr_screen_resources->crtcs[0]);