You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.5 KiB
33 lines
1.5 KiB
commit c422e9c0396e405ef5a3d2a6b24dbc83c20afe2f
|
|
Author: Jean-Louis Dupond <jean-louis@dupond.be>
|
|
Date: Wed Apr 25 11:57:39 2012 +0200
|
|
|
|
Also fix scrolling on VNC plugin
|
|
|
|
Index: FreeRDP-Remmina-356c033/remmina-plugins/rdp/rdp_event.c
|
|
===================================================================
|
|
--- FreeRDP-Remmina-356c033.orig/remmina-plugins/rdp/rdp_event.c
|
|
+++ FreeRDP-Remmina-356c033/remmina-plugins/rdp/rdp_event.c
|
|
@@ -468,7 +468,7 @@ void remmina_rdp_event_init(RemminaProto
|
|
gtk_container_add(GTK_CONTAINER(gp), rfi->drawing_area);
|
|
|
|
gtk_widget_add_events(rfi->drawing_area, GDK_POINTER_MOTION_MASK | GDK_BUTTON_PRESS_MASK
|
|
- | GDK_BUTTON_RELEASE_MASK | GDK_KEY_PRESS_MASK | GDK_KEY_RELEASE_MASK);
|
|
+ | GDK_BUTTON_RELEASE_MASK | GDK_KEY_PRESS_MASK | GDK_KEY_RELEASE_MASK | GDK_SCROLL_MASK);
|
|
gtk_widget_set_can_focus(rfi->drawing_area, TRUE);
|
|
|
|
remmina_plugin_service->protocol_plugin_register_hostkey(gp, rfi->drawing_area);
|
|
Index: FreeRDP-Remmina-356c033/remmina-plugins/vnc/vnc_plugin.c
|
|
===================================================================
|
|
--- FreeRDP-Remmina-356c033.orig/remmina-plugins/vnc/vnc_plugin.c
|
|
+++ FreeRDP-Remmina-356c033/remmina-plugins/vnc/vnc_plugin.c
|
|
@@ -1847,7 +1847,7 @@ static void remmina_plugin_vnc_init(Remm
|
|
gtk_widget_add_events(
|
|
gpdata->drawing_area,
|
|
GDK_POINTER_MOTION_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_KEY_PRESS_MASK
|
|
- | GDK_KEY_RELEASE_MASK);
|
|
+ | GDK_KEY_RELEASE_MASK | GDK_SCROLL_MASK);
|
|
gtk_widget_set_can_focus(gpdata->drawing_area, TRUE);
|
|
|
|
#if GTK_VERSION == 3
|