Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntenore Gatta <antenore@simbiosi.org>2021-04-23 16:10:01 +0300
committerAntenore Gatta <antenore@simbiosi.org>2021-04-23 16:10:01 +0300
commit995159119f005aaff7db93781d3ee5bb98533055 (patch)
treeabee2e632427b142fe5dc6ece528f423498df87e /plugins/spice
parentd82102f2ef222973ff517f31fd91e5c7b4def03a (diff)
Fixing RemminaConnectionWindow map/unmap events
The remmina connection windows in fullscreen is a different object than when is in scrolled mode, therefore the old logic to map and unmap the windows from the plugin it was notr working. Now the events are managed directly from the RCW object and the RemminaProtocolWidget, with an API that can be used by any plugins. When in multi monitor and fullscreen, this mechanism doesn't work, Therefore, in the plugin itself I catch when we are in multi monitor fullscreen mode And I ignore the event. This last behaviour should be managed directly in the Remmina Protocol Widget (TODO). Fixes #2475 Signed-off-by: Antenore Gatta <antenore@simbiosi.org>
Diffstat (limited to 'plugins/spice')
-rw-r--r--plugins/spice/spice_plugin.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/spice/spice_plugin.c b/plugins/spice/spice_plugin.c
index f03247c16..e68ad1ba9 100644
--- a/plugins/spice/spice_plugin.c
+++ b/plugins/spice/spice_plugin.c
@@ -405,7 +405,7 @@ static void remmina_plugin_spice_display_ready_cb(GObject *display, GParamSpec *
# if SPICE_GTK_CHECK_VERSION(0, 31, 0)
SpiceImageCompression imagecompression = remmina_plugin_service->file_get_int(remminafile, "imagecompression", 0);
if (imagecompression) {
-# if SPICE_GTK_CHECK_VERSION(0, 35, 0)
+# if SPICE_GTK_CHECK_VERSION(0, 35, 0)
spice_display_channel_change_preferred_compression(SPICE_CHANNEL(gpdata->display_channel),
imagecompression);
# else
@@ -641,7 +641,9 @@ static RemminaProtocolPlugin remmina_plugin_spice =
remmina_plugin_spice_query_feature, // Query for available features
remmina_plugin_spice_call_feature, // Call a feature
remmina_plugin_spice_keystroke, // Send a keystroke
- NULL // No screenshot support available
+ NULL, // No screenshot support available
+ NULL, // RCW map event
+ NULL // RCW unmap event
};
void remmina_plugin_spice_remove_list_option(gpointer *option_list, const gchar *option_to_remove) {