[gnome-remote-desktop] mime-type: Also save external clipboard format for RDP clipboard
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-remote-desktop] mime-type: Also save external clipboard format for RDP clipboard
- Date: Fri, 5 Feb 2021 17:07:07 +0000 (UTC)
commit 05e90e81c3c920fd3d89c8533162eedd0e8e703e
Author: Pascal Nowack <Pascal Nowack gmx de>
Date: Tue Aug 11 20:46:01 2020 +0200
mime-type: Also save external clipboard format for RDP clipboard
RDP supports multiple text types from which we can convert our
clipboard format from.
However, these formats are not the same as the ones that are supported
on Linux.
In order to support these formats nevertheless, save the external id
for the clipboard format additionally to the internal mime type, in
order to be able to identify the external format correctly when
converting the external format into a format that is supported on
Linux.
src/grd-mime-type.h | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/src/grd-mime-type.h b/src/grd-mime-type.h
index 739b13f..f3236bb 100644
--- a/src/grd-mime-type.h
+++ b/src/grd-mime-type.h
@@ -20,6 +20,8 @@
#ifndef GRD_MIME_TYPE_H
#define GRD_MIME_TYPE_H
+#include <stdint.h>
+
typedef enum _GrdMimeType
{
GRD_MIME_TYPE_NONE,
@@ -39,6 +41,11 @@ typedef enum _GrdMimeType
typedef struct _GrdMimeTypeTable
{
GrdMimeType mime_type;
+
+ struct
+ {
+ uint32_t format_id;
+ } rdp;
} GrdMimeTypeTable;
const char *grd_mime_type_to_string (GrdMimeType mime_type);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]