mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-17 16:37:43 +02:00
added --enable-drag-drop arg and supporting gui changes.
This commit is contained in:
parent
ba78e4b67f
commit
2935c6671e
13 changed files with 156 additions and 166 deletions
|
@ -168,6 +168,14 @@ CApp::parseArg(const int& argc, const char* const* argv, int& i)
|
|||
argsBase().m_crypto.setMode("cfb");
|
||||
}
|
||||
|
||||
else if (isArg(i, argc, argv, NULL, "--enable-drag-drop")) {
|
||||
#ifdef WINAPI_XWINDOWS
|
||||
std::cerr << "Option not supported on Linux: " << argv[i] << std::endl;
|
||||
m_bye(kExitArgs);
|
||||
#endif
|
||||
argsBase().m_enableDragDrop = true;
|
||||
}
|
||||
|
||||
else {
|
||||
// option not supported here
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue