From 5f0b72c8014b4d29a12f7a532a523d34307a9700 Mon Sep 17 00:00:00 2001 From: Antenore Gatta Date: Fri, 23 Apr 2021 15:10:01 +0200 Subject: 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 --- nx_plugin.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nx_plugin.c b/nx_plugin.c index 821a43e..01791ac 100644 --- a/nx_plugin.c +++ b/nx_plugin.c @@ -782,7 +782,9 @@ static RemminaProtocolPlugin remmina_plugin_nx = remmina_plugin_nx_query_feature, // Query for available features remmina_plugin_nx_call_feature, // Call a feature NULL, // Send a keystroke - NULL // Screenshot support unavailable + NULL, // No screenshot support available + NULL, // RCW map event + NULL // RCW unmap event }; G_MODULE_EXPORT gboolean -- cgit v1.2.3