diff options
author | Antenore Gatta <antenore@simbiosi.org> | 2021-04-23 16:10:01 +0300 |
---|---|---|
committer | Antenore Gatta <antenore@simbiosi.org> | 2021-04-23 16:10:01 +0300 |
commit | 5f0b72c8014b4d29a12f7a532a523d34307a9700 (patch) | |
tree | a375676a9be0d5ec408444dee75c8dd14d1caf11 | |
parent | 28135a5b5f1936cb524919b1196dbf2ae838b0bb (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>
-rw-r--r-- | nx_plugin.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 |