bae0e34e39
Work done primarily by Francois Briere, thanks Francois.
21 lines
513 B
Plaintext
21 lines
513 B
Plaintext
--- tests/test_config.c.orig Wed Dec 1 21:22:17 2004
|
|
+++ tests/test_config.c Wed Dec 1 21:23:00 2004
|
|
@@ -6,6 +6,8 @@
|
|
|
|
enum { ACTION_NONE, ACTION_GET, ACTION_SET };
|
|
|
|
+Display* dpy;
|
|
+
|
|
static void printUsage()
|
|
{
|
|
printf( "Usage: test_config (-g)|(-s -m <model> -l <layouts> -o <options>)|(-h)(-d <debugLevel>)\n" );
|
|
@@ -89,7 +91,7 @@
|
|
exit( 0 );
|
|
}
|
|
|
|
- Display* dpy = XOpenDisplay( NULL );
|
|
+ dpy = XOpenDisplay( NULL );
|
|
if ( dpy == NULL )
|
|
{
|
|
fprintf( stderr, "Could not open display\n" );
|