diff options
author | Giovanni Panozzo <giovanni@panozzo.it> | 2022-08-31 23:10:00 +0300 |
---|---|---|
committer | Giovanni Panozzo <giovanni@panozzo.it> | 2022-08-31 23:10:00 +0300 |
commit | 3b0b00af8bbe5ceb7104e3212f620f66bb061e7a (patch) | |
tree | 4b8504c25cbcc3a7327ff4e7577a3234f782a382 /plugins | |
parent | 268ba82d0f7d82ae7f332fb1c7fdf586cffa41de (diff) |
Remove webkit_settings_set_enable_frame_flattening() for newer WekbKitGTK, fixes #2780issue_2780
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/www/www_plugin.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/www/www_plugin.c b/plugins/www/www_plugin.c index fcc0ed0cf..f360b6745 100644 --- a/plugins/www/www_plugin.c +++ b/plugins/www/www_plugin.c @@ -552,6 +552,8 @@ static void remmina_plugin_www_init(RemminaProtocolWidget *gp) webkit_web_context_set_automation_allowed(gpdata->context, TRUE); webkit_settings_set_javascript_can_open_windows_automatically(gpdata->settings, TRUE); webkit_settings_set_allow_modal_dialogs(gpdata->settings, TRUE); + +#if !WEBKIT_CHECK_VERSION(2, 38, 0) /** Frames flattening * Some websites engage in embedding frames-inside-of-frames. WebKit has * the ability to flatten them so they behave, when scrolling, as one big @@ -559,6 +561,8 @@ static void remmina_plugin_www_init(RemminaProtocolWidget *gp) */ if (!webkit_settings_get_enable_frame_flattening(gpdata->settings)) webkit_settings_set_enable_frame_flattening(gpdata->settings, true); +#endif + webkit_settings_set_enable_resizable_text_areas(gpdata->settings, true); g_signal_connect(G_OBJECT(gpdata->context), "download-started", |