summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-10-04 10:24:27 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-10-04 10:24:27 +0200
commite8f633cf2f6a8fe7d1d23bd5bc987f22ef0a3319 (patch)
tree4780743987411060d2a142779e8080ab00a93184 /src
parentaa14ffe6a1f1da1b88a19961ece236ff126a5fd6 (diff)
Wayland: remove useless code
Diffstat (limited to 'src')
-rw-r--r--src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
index bb72a69d4..37a470b01 100644
--- a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
+++ b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
@@ -882,12 +882,6 @@ static void handle_configure(struct libdecor_frame *frame,
window->fl_win->resize(0, 0, ceil(width / f), ceil(height / f));
driver->in_handle_configure = false;
if (wl_output) window->fl_win->redraw();
-
- if (ceil(width / f) != window->configured_width || ceil(height / f) != window->configured_height) {
- if (window->buffer) {
- Fl_Wayland_Graphics_Driver::buffer_release(window);
- }
- }
window->configured_width = ceil(width / f);
window->configured_height = ceil(height / f);
if (is_2nd_run) driver->wait_for_expose_value = 0;