|
|
@ -535,7 +535,7 @@ diff --git a/remmina-plugins/rdp/rdp_event.c b/remmina-plugins/rdp/rdp_event.c
|
|
|
|
index f77f5f1..a936fb1 100644
|
|
|
|
index f77f5f1..a936fb1 100644
|
|
|
|
--- a/remmina-plugins/rdp/rdp_event.c
|
|
|
|
--- a/remmina-plugins/rdp/rdp_event.c
|
|
|
|
+++ b/remmina-plugins/rdp/rdp_event.c
|
|
|
|
+++ b/remmina-plugins/rdp/rdp_event.c
|
|
|
|
@@ -461,6 +461,16 @@ static gboolean remmina_rdp_event_on_key(GtkWidget* widget, GdkEventKey* event,
|
|
|
|
@@ -452,6 +452,16 @@ static gboolean remmina_rdp_event_on_key(GtkWidget* widget, GdkEventKey* event,
|
|
|
|
return TRUE;
|
|
|
|
return TRUE;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -552,7 +552,7 @@ index f77f5f1..a936fb1 100644
|
|
|
|
void remmina_rdp_event_init(RemminaProtocolWidget* gp)
|
|
|
|
void remmina_rdp_event_init(RemminaProtocolWidget* gp)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
gint n;
|
|
|
|
gint n;
|
|
|
|
@@ -470,6 +480,7 @@ void remmina_rdp_event_init(RemminaProtocolWidget* gp)
|
|
|
|
@@ -461,6 +471,7 @@ void remmina_rdp_event_init(RemminaProtocolWidget* gp)
|
|
|
|
XPixmapFormatValues* pf;
|
|
|
|
XPixmapFormatValues* pf;
|
|
|
|
XPixmapFormatValues* pfs;
|
|
|
|
XPixmapFormatValues* pfs;
|
|
|
|
rfContext* rfi;
|
|
|
|
rfContext* rfi;
|
|
|
@ -560,7 +560,7 @@ index f77f5f1..a936fb1 100644
|
|
|
|
|
|
|
|
|
|
|
|
rfi = GET_DATA(gp);
|
|
|
|
rfi = GET_DATA(gp);
|
|
|
|
rfi->drawing_area = gtk_drawing_area_new();
|
|
|
|
rfi->drawing_area = gtk_drawing_area_new();
|
|
|
|
@@ -508,6 +519,14 @@ void remmina_rdp_event_init(RemminaProtocolWidget* gp)
|
|
|
|
@@ -499,6 +510,14 @@ void remmina_rdp_event_init(RemminaProtocolWidget* gp)
|
|
|
|
g_signal_connect(G_OBJECT(rfi->drawing_area), "key-release-event",
|
|
|
|
g_signal_connect(G_OBJECT(rfi->drawing_area), "key-release-event",
|
|
|
|
G_CALLBACK(remmina_rdp_event_on_key), gp);
|
|
|
|
G_CALLBACK(remmina_rdp_event_on_key), gp);
|
|
|
|
|
|
|
|
|
|
|
@ -595,7 +595,7 @@ index 08874e6..fd0fe08 100644
|
|
|
|
|
|
|
|
|
|
|
|
#define REMMINA_RDP_FEATURE_TOOL_REFRESH 1
|
|
|
|
#define REMMINA_RDP_FEATURE_TOOL_REFRESH 1
|
|
|
|
#define REMMINA_RDP_FEATURE_SCALE 2
|
|
|
|
#define REMMINA_RDP_FEATURE_SCALE 2
|
|
|
|
@@ -128,6 +130,11 @@ boolean rf_check_fds(RemminaProtocolWidget* gp)
|
|
|
|
@@ -155,6 +157,11 @@ boolean rf_check_fds(RemminaProtocolWidget* gp)
|
|
|
|
input->MouseEvent(input, event->mouse_event.flags,
|
|
|
|
input->MouseEvent(input, event->mouse_event.flags,
|
|
|
|
event->mouse_event.x, event->mouse_event.y);
|
|
|
|
event->mouse_event.x, event->mouse_event.y);
|
|
|
|
break;
|
|
|
|
break;
|
|
|
@ -607,7 +607,7 @@ index 08874e6..fd0fe08 100644
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
g_free(event);
|
|
|
|
g_free(event);
|
|
|
|
@@ -503,6 +510,7 @@ static boolean remmina_rdp_verify_certificate(freerdp* instance, char* subject,
|
|
|
|
@@ -530,6 +537,7 @@ static boolean remmina_rdp_verify_certificate(freerdp* instance, char* subject,
|
|
|
|
|
|
|
|
|
|
|
|
static int remmina_rdp_receive_channel_data(freerdp* instance, int channelId, uint8* data, int size, int flags, int total_size)
|
|
|
|
static int remmina_rdp_receive_channel_data(freerdp* instance, int channelId, uint8* data, int size, int flags, int total_size)
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -615,7 +615,7 @@ index 08874e6..fd0fe08 100644
|
|
|
|
return freerdp_channels_data(instance, channelId, data, size, flags, total_size);
|
|
|
|
return freerdp_channels_data(instance, channelId, data, size, flags, total_size);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@@ -518,6 +526,7 @@ static void remmina_rdp_main_loop(RemminaProtocolWidget* gp)
|
|
|
|
@@ -545,6 +553,7 @@ static void remmina_rdp_main_loop(RemminaProtocolWidget* gp)
|
|
|
|
fd_set rfds_set;
|
|
|
|
fd_set rfds_set;
|
|
|
|
fd_set wfds_set;
|
|
|
|
fd_set wfds_set;
|
|
|
|
rfContext* rfi;
|
|
|
|
rfContext* rfi;
|
|
|
@ -623,7 +623,7 @@ index 08874e6..fd0fe08 100644
|
|
|
|
|
|
|
|
|
|
|
|
memset(rfds, 0, sizeof(rfds));
|
|
|
|
memset(rfds, 0, sizeof(rfds));
|
|
|
|
memset(wfds, 0, sizeof(wfds));
|
|
|
|
memset(wfds, 0, sizeof(wfds));
|
|
|
|
@@ -591,6 +600,12 @@ static void remmina_rdp_main_loop(RemminaProtocolWidget* gp)
|
|
|
|
@@ -618,6 +627,12 @@ static void remmina_rdp_main_loop(RemminaProtocolWidget* gp)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|