diff options
author | Sergey Udaltsov <svu@gnome.org> | 2004-10-10 22:38:18 +0000 |
---|---|---|
committer | Sergey Udaltsov <svu@gnome.org> | 2004-10-10 22:38:18 +0000 |
commit | 67c41646df4c7eacbf3aa02a019a9b7a01a2f326 (patch) | |
tree | f1b051771916510d09c8dc643f13866e66eeac66 /tests | |
parent | 2e261677cbf1bff65b334cd12fb2ae4342a6b8da (diff) | |
download | libxklavier-67c41646df4c7eacbf3aa02a019a9b7a01a2f326.tar.gz |
The revolution is on. The whole description is not compiled on the client side - nothing on the server side
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_config.c | 3 | ||||
-rw-r--r-- | tests/test_monitor.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/test_config.c b/tests/test_config.c index 2121667..a91860c 100644 --- a/tests/test_config.c +++ b/tests/test_config.c @@ -50,6 +50,7 @@ int main( int argc, char * const argv[] ) const char* options = NULL; int debugLevel = 0; int binary = 0; + Display *dpy; while (1) { @@ -96,7 +97,7 @@ int main( int argc, char * const argv[] ) exit( 0 ); } - Display* dpy = XOpenDisplay( NULL ); + dpy = XOpenDisplay( NULL ); if ( dpy == NULL ) { fprintf( stderr, "Could not open display\n" ); diff --git a/tests/test_monitor.c b/tests/test_monitor.c index 472e07c..73c86d2 100644 --- a/tests/test_monitor.c +++ b/tests/test_monitor.c @@ -42,6 +42,7 @@ int main( int argc, char * argv[] ) int c; int debugLevel = 0; XkbEvent ev; + Display* dpy; while (1) { @@ -63,7 +64,7 @@ int main( int argc, char * argv[] ) } } - Display* dpy = XOpenDisplay( NULL ); + dpy = XOpenDisplay( NULL ); if ( dpy == NULL ) { fprintf( stderr, "Could not open display\n" ); |