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 | 9d638d9664a94d839aba00d1e561dda008b5c469 (patch) | |
tree | 1b93221fcc502025d3a504e72efbb6fb11c8779f | |
parent | c8caa266cbe4f1f0ff4e4b96cfdd81cf5d3f8ece (diff) |
Fixing RemminaConnectionWindow map/unmap eventsplugins/st
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-- | st_plugin.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/st_plugin.c b/st_plugin.c index 1a7a2f4..f5512a0 100644 --- a/st_plugin.c +++ b/st_plugin.c @@ -283,7 +283,9 @@ static RemminaProtocolPlugin remmina_plugin = remmina_st_query_feature, // Query for available features NULL, // Call a feature NULL, // Send a keystroke - NULL // Capture screenshot + NULL, // Capture screenshot + NULL, // RCW map event + NULL // RCW unmap event }; G_MODULE_EXPORT gboolean remmina_plugin_entry(RemminaPluginService *service) |