commit
9a634df223
|
@ -12,7 +12,6 @@ This is a VNC server for wlroots based Wayland compositors.
|
||||||
* neatvnc
|
* neatvnc
|
||||||
* OpenGL ES V2.0
|
* OpenGL ES V2.0
|
||||||
* pixman
|
* pixman
|
||||||
* sway
|
|
||||||
|
|
||||||
### Build Dependencies
|
### Build Dependencies
|
||||||
* GCC
|
* GCC
|
||||||
|
|
|
@ -504,6 +504,7 @@ int wayvnc_usage(FILE* stream, int rc)
|
||||||
"Usage: wayvnc [options]\n"
|
"Usage: wayvnc [options]\n"
|
||||||
"\n"
|
"\n"
|
||||||
" -c,--frame-capturing=screencopy|dmabuf Select frame capturing backend.\n"
|
" -c,--frame-capturing=screencopy|dmabuf Select frame capturing backend.\n"
|
||||||
|
" -o,--output=<id> Select output to capture.\n"
|
||||||
" -k,--keyboard=<layout> Select keyboard layout.\n"
|
" -k,--keyboard=<layout> Select keyboard layout.\n"
|
||||||
" -h,--help Get help (this text).\n"
|
" -h,--help Get help (this text).\n"
|
||||||
"\n";
|
"\n";
|
||||||
|
@ -577,13 +578,13 @@ int main(int argc, char* argv[])
|
||||||
log_error("No such output\n");
|
log_error("No such output\n");
|
||||||
goto failure;
|
goto failure;
|
||||||
}
|
}
|
||||||
}
|
} else {
|
||||||
|
|
||||||
out = output_first(&self.outputs);
|
out = output_first(&self.outputs);
|
||||||
if (!out) {
|
if (!out) {
|
||||||
log_error("No output found\n");
|
log_error("No output found\n");
|
||||||
goto failure;
|
goto failure;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
self.selected_output = out;
|
self.selected_output = out;
|
||||||
self.dmabuf_backend.fc.wl_output = out->wl_output;
|
self.dmabuf_backend.fc.wl_output = out->wl_output;
|
||||||
|
|
Loading…
Reference in New Issue