Wayland: limit copied pixels when window update is a region - cont'd

Handle Fl_Overlay_Window objects
This commit is contained in:
ManoloFLTK 2023-04-12 00:32:20 +02:00
parent 9e00bd2606
commit 2d263a830a

View File

@ -395,7 +395,7 @@ void Fl_Wayland_Window_Driver::flush() {
Fl_X *ip = Fl_X::flx(pWindow);
struct flCairoRegion* r = (struct flCairoRegion*)ip->region;
if (!window->buffer) r = NULL;
if (!window->buffer || pWindow->as_overlay_window()) r = NULL;
Fl_Wayland_Window_Driver::in_flush = true;
Fl_Window_Driver::flush();