diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-03-23 07:57:05 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-03-23 07:57:17 +0100 |
| commit | 26a78c49925bf0a4fe1a2a8024298cb7afde9db0 (patch) | |
| tree | bad12afefb73fd08187414383d42c3fc77fc2ab6 | |
| parent | 52015f2a261eb7b5a623bf66a2ee4d507e0d6b8a (diff) | |
Fix for issue #419: Wayland: scale/resize issue.
| -rw-r--r-- | src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx index 1e3990559..b1ac7974e 100644 --- a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx +++ b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx @@ -1490,6 +1490,7 @@ void Fl_Wayland_Window_Driver::resize(int X, int Y, int W, int H) { fl_win->configured_width = W; fl_win->configured_height = H; if (!in_handle_configure && xdg_toplevel()) { + if (Fl_Window::is_a_rescale()) size_range(); struct libdecor_state *state = libdecor_state_new(int(W * f), int(H * f)); libdecor_frame_commit(fl_win->frame, state, NULL); // necessary only if resize is initiated by prog libdecor_state_free(state); |
