mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-22 07:01:30 +00:00
[common] clipboard: enlarge transfer buffers
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
#include "KVMFRInput.h"
|
||||
|
||||
#define KVMFR_MAGIC "KVMFR---"
|
||||
#define KVMFR_VERSION 31
|
||||
#define KVMFR_VERSION 32
|
||||
|
||||
// Fallback used by producers that cannot report the source display's SDR
|
||||
// white level. IDD frames override this with IDDCX_METADATA2::SdrWhiteLevel.
|
||||
|
||||
@@ -26,9 +26,12 @@
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#define KVMFR_CLIPBOARD_VERSION 2U
|
||||
#define KVMFR_CLIPBOARD_SLOT_COUNT 8U
|
||||
#define KVMFR_CLIPBOARD_DATA_BYTES (64U * 1024U)
|
||||
#define KVMFR_CLIPBOARD_VERSION 3U
|
||||
#define KVMFR_CLIPBOARD_SLOT_COUNT 1U
|
||||
#define KVMFR_CLIPBOARD_DATA_BYTES (1024U * 1024U)
|
||||
/* Keep text and image chunks within the core X11 request limit. File data can
|
||||
* use the full slot without passing through XChangeProperty. */
|
||||
#define KVMFR_CLIPBOARD_REPRESENTATION_BYTES (64U * 1024U)
|
||||
#define KVMFR_CLIPBOARD_SIZE_UNKNOWN UINT64_MAX
|
||||
#define KVMFR_CLIPBOARD_FILE_READ_BYTES (1024U * 1024U)
|
||||
#define KVMFR_CLIPBOARD_FILE_ROOT_NODE UINT64_C(0)
|
||||
|
||||
Reference in New Issue
Block a user