Writer perms were checked in multiple places, consolidate and fix a missing case

This commit is contained in:
Lauri Kasanen
2021-05-10 11:02:20 +03:00
parent aefdb1392f
commit 7a695c976e
3 changed files with 9 additions and 5 deletions

View File

@@ -252,4 +252,7 @@ namespace rfb {
bool hasLocalClipboard;
};
}
#define WRITER_PERMS (AccessKeyEvents | AccessPtrEvents | AccessCutText | AccessSetDesktopSize)
#endif