summaryrefslogtreecommitdiff
path: root/tests/test_runasuser.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_runasuser.c')
-rw-r--r--tests/test_runasuser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_runasuser.c b/tests/test_runasuser.c
index 2d37687..e99b340 100644
--- a/tests/test_runasuser.c
+++ b/tests/test_runasuser.c
@@ -17,7 +17,7 @@ int main()
fprintf( stderr, "Initialization failed!\n" );
return 2;
}
- ok = dapi_RunAsUser( conn, "", "xterm -title test" );
+ ok = dapi_RunAsUser_Window( conn, "", "xterm -title test", 0 ); /* no mainwindow */
printf( "Result: %s\n", ok == 1 ? "Ok" : "Failed" );
dapi_close( conn );
return 0;