diff options
author | Pierre Ossman <ossman@cendio.se> | 2014-12-02 14:33:17 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2014-12-02 14:33:17 +0100 |
commit | e7be49b57353e66fcbe8702edbeeed393e254ff9 (patch) | |
tree | 74279439c060be92783fa1e4ef8696df6bcbbbd9 /common/rfb/SConnection.h | |
parent | e84db6535eb624f5b4c81eefa1703267acf16cc2 (diff) | |
download | tigervnc-e7be49b57353e66fcbe8702edbeeed393e254ff9.tar.gz tigervnc-e7be49b57353e66fcbe8702edbeeed393e254ff9.zip |
Limit access to non-shared mode
A read-only client should not be allowed to kick out other clients.
It will be forced into shared mode, or refused the connection, depending
on the neverShared parameter.
Diffstat (limited to 'common/rfb/SConnection.h')
-rw-r--r-- | common/rfb/SConnection.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/rfb/SConnection.h b/common/rfb/SConnection.h index 0379b17f..005a7a85 100644 --- a/common/rfb/SConnection.h +++ b/common/rfb/SConnection.h @@ -127,6 +127,7 @@ namespace rfb { static const AccessRights AccessPtrEvents; // Send pointer events static const AccessRights AccessCutText; // Send/receive clipboard events static const AccessRights AccessSetDesktopSize; // Change desktop size + static const AccessRights AccessNonShared; // Exclusive access to the server static const AccessRights AccessDefault; // The default rights, INCLUDING FUTURE ONES static const AccessRights AccessNoQuery; // Connect without local user accepting static const AccessRights AccessFull; // All of the available AND FUTURE rights |