From b814e0db002a57ed5611e636b0c01319dcc5ee1d Mon Sep 17 00:00:00 2001 From: Jamie Wilkinson Date: Wed, 17 Mar 2004 01:33:31 +0000 Subject: [PATCH] - fix compile warning when xf86dga doesn't exist --- src/rw_x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rw_x11.c b/src/rw_x11.c index 3d3d8cc..b2ebd88 100644 --- a/src/rw_x11.c +++ b/src/rw_x11.c @@ -550,9 +550,9 @@ static void install_grabs(void) CurrentTime); if (in_dgamouse->value) { +#ifdef HAVE_XF86_DGA int MajorVersion, MinorVersion; -#ifdef HAVE_XF86_DGA if (!XF86DGAQueryVersion(dpy, &MajorVersion, &MinorVersion)) { // unable to query, probalby not supported ri.Con_Printf( PRINT_ALL, "Failed to detect XF86DGA Mouse\n" );