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 | 73724a5c0412cf8259aab65491b025e166b9a202 (patch) | |
tree | b0d30da533eba1078be64d42a034c85af1421cb3 | |
parent | 436fd2fc944cef77376e6dbf00bd9ea48f98300d (diff) |
Fixing RemminaConnectionWindow map/unmap eventsplugins/xdmcp
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-- | xdmcp_plugin.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xdmcp_plugin.c b/xdmcp_plugin.c index 2caa961..8e4fce3 100644 --- a/xdmcp_plugin.c +++ b/xdmcp_plugin.c @@ -403,7 +403,9 @@ static RemminaProtocolPlugin remmina_plugin_xdmcp = remmina_plugin_xdmcp_query_feature, // Query for available features remmina_plugin_xdmcp_call_feature, // Call a feature NULL, // Send a keystroke - NULL // No screenshot support available + NULL, // No screenshot support available + NULL, // RCW map event + NULL // RCW unmap event }; G_MODULE_EXPORT gboolean |