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 | 995159119f005aaff7db93781d3ee5bb98533055 (patch) | |
tree | abee2e632427b142fe5dc6ece528f423498df87e /plugins/tool_hello_world/plugin.c | |
parent | d82102f2ef222973ff517f31fd91e5c7b4def03a (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/tool_hello_world/plugin.c')
-rw-r--r-- | plugins/tool_hello_world/plugin.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/tool_hello_world/plugin.c b/plugins/tool_hello_world/plugin.c index abe6927f9..05dfd2e36 100644 --- a/plugins/tool_hello_world/plugin.c +++ b/plugins/tool_hello_world/plugin.c @@ -104,7 +104,9 @@ static RemminaProtocolPlugin remmina_plugin = { NULL, // Query for available features NULL, // 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 remmina_plugin_entry(RemminaPluginService *service) |