Commit 064e2121 authored by Claes Sjofors's avatar Claes Sjofors

Xtt --sync option added to debug Xlib

parent d823d79f
...@@ -652,9 +652,14 @@ Xtt::Xtt( int *argc, char **argv[], int *return_sts) : ...@@ -652,9 +652,14 @@ Xtt::Xtt( int *argc, char **argv[], int *return_sts) :
case '-': case '-':
// Possible arg to gtk // Possible arg to gtk
if ( strcmp( (*argv)[i], "--display") == 0) { if ( strcmp( (*argv)[i], "--display") == 0) {
// Gtk arg with parameter
i++; i++;
i_incr = 1; i_incr = 1;
} }
else if ( strcmp( (*argv)[i], "--sync") == 0) {
// Gtk arg without parameter
i_incr = 1;
}
break; break;
default: default:
usage(); usage();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment