Skip to content
Snippets Groups Projects
Commit f5160b01 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Fix build when XRandR is available, but Xinerama isn't.

parent 3d4613fa
No related branches found
No related tags found
No related merge requests found
Pipeline #6666 failed
...@@ -456,6 +456,7 @@ fullscreen_geometry(int *x_org, int *y_org, int *width, int *height) ...@@ -456,6 +456,7 @@ fullscreen_geometry(int *x_org, int *y_org, int *width, int *height)
int wx, wy; int wx, wy;
#if defined(WITH_XRANDR) || defined(WITH_XINERAMA) #if defined(WITH_XRANDR) || defined(WITH_XINERAMA)
int cx, cy; int cx, cy;
int i;
#endif #endif
#ifdef WITH_XRANDR #ifdef WITH_XRANDR
static XRRScreenResources *xrrsr = NULL; static XRRScreenResources *xrrsr = NULL;
...@@ -464,7 +465,6 @@ fullscreen_geometry(int *x_org, int *y_org, int *width, int *height) ...@@ -464,7 +465,6 @@ fullscreen_geometry(int *x_org, int *y_org, int *width, int *height)
bool found; bool found;
#endif #endif
#ifdef WITH_XINERAMA #ifdef WITH_XINERAMA
int i;
int nscrn; int nscrn;
XineramaScreenInfo *xsi; XineramaScreenInfo *xsi;
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment