From e8f633cf2f6a8fe7d1d23bd5bc987f22ef0a3319 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Wed, 4 Oct 2023 10:24:27 +0200 Subject: Wayland: remove useless code --- src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src') 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; -- cgit v1.2.3