mirror of
https://github.com/swaywm/sway.git
synced 2025-11-17 06:59:48 -05:00
Rework get_clipboard implementation
This commit is contained in:
parent
42547cafb6
commit
c0f2acce4e
8 changed files with 455 additions and 103 deletions
|
|
@ -235,7 +235,7 @@ enum ipc_feature {
|
|||
IPC_FEATURE_EVENT_WINDOW = 2048,
|
||||
IPC_FEATURE_EVENT_BINDING = 4096,
|
||||
IPC_FEATURE_EVENT_INPUT = 8192,
|
||||
IPC_FEATURE_GET_CLIPBOARD = 16384,
|
||||
IPC_FEATURE_GET_CLIPBOARD = 16384,
|
||||
|
||||
IPC_FEATURE_ALL_COMMANDS = 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128 | 16384,
|
||||
IPC_FEATURE_ALL_EVENTS = 256 | 512 | 1024 | 2048 | 4096 | 8192,
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
#include <stdint.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/types.h>
|
||||
#include <xkbcommon/xkbcommon.h>
|
||||
|
||||
/**
|
||||
|
|
@ -57,4 +58,8 @@ uint32_t parse_color(const char *color);
|
|||
* to a dangling symlink, NULL is returned.
|
||||
*/
|
||||
char* resolve_path(const char* path);
|
||||
|
||||
char *b64_encode(const char* binaryData, size_t len, size_t *flen);
|
||||
unsigned char *b64_decode(const char *ascii, size_t len, size_t *flen);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue