Browse Source

One more Linux/X11 webview initial size fix

Signed-off-by: falkTX <falktx@falktx.com>
pull/498/head
falkTX 1 month ago
parent
commit
530f170a79
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      distrho/extra/WebViewImpl.cpp

+ 1
- 1
distrho/extra/WebViewImpl.cpp View File

@@ -1137,7 +1137,7 @@ static bool gtk3(Display* const display,
GtkWidget* const window = gtk_plug_new(winId); GtkWidget* const window = gtk_plug_new(winId);
DISTRHO_SAFE_ASSERT_RETURN(window != nullptr, false); DISTRHO_SAFE_ASSERT_RETURN(window != nullptr, false);


gtk_window_set_default_size(GTK_WINDOW(window), width - x, height - y);
gtk_window_set_default_size(GTK_WINDOW(window), width, height);
gtk_window_move(GTK_WINDOW(window), x, y); gtk_window_move(GTK_WINDOW(window), x, y);


WebKitSettings* const settings = webkit_settings_new(); WebKitSettings* const settings = webkit_settings_new();


Loading…
Cancel
Save