mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-28 05:48:40 +02:00
Revamped OSX clipboard handling to rely on the pasteboard synchronization built into the API, rather than attempting to roll our own.
This brings back clipboard sharing functionality under my environment; I'll be posting a call to test to the appropriate ticket. Ref: Issue #67
This commit is contained in:
parent
6253ca6637
commit
e0a70cddf7
4 changed files with 103 additions and 105 deletions
|
@ -16,6 +16,7 @@
|
|||
#define COSXSCREEN_H
|
||||
|
||||
#include <Carbon/Carbon.h>
|
||||
#include "COSXClipboard.h"
|
||||
#include "CPlatformScreen.h"
|
||||
#include "stdmap.h"
|
||||
#include "stdvector.h"
|
||||
|
@ -205,6 +206,7 @@ private:
|
|||
COSXKeyState* m_keyState;
|
||||
|
||||
// clipboards
|
||||
COSXClipboard m_pasteboard;
|
||||
UInt32 m_sequenceNumber;
|
||||
|
||||
// screen saver stuff
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue