summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-04-12 15:01:35 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-04-12 15:01:35 +0200
commite6c9deb4a4fca8e7f0241e74ec242213628de6b6 (patch)
treee48c29fd0513e59e52e9fbdedc23dbf4fb6804f6 /src/drivers
parent2d263a830afa771a59991dd3ba1a6e9b6226bfbc (diff)
Wayland: limit copied pixels when window update is a region - cont'd
Simpler Fl_Wayland_Window_Driver::flush_overlay() is enough.
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
index 790ea7473..37d6e4842 100644
--- a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
+++ b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
@@ -198,9 +198,6 @@ void Fl_Wayland_Window_Driver::flush_overlay()
fl_copy_offscreen(0, 0, oWindow->w(), oWindow->h(), other_xid, 0, 0);
}
if (overlay() == oWindow) oWindow->draw_overlay();
- struct wld_window * xid = fl_wl_xid(pWindow);
- int s = wld_scale();
- wl_surface_damage_buffer(xid->wl_surface, 0, 0, pWindow->w() * s, pWindow->h() * s);
}