diff --git a/src/driver/framebuffer.cpp b/src/driver/framebuffer.cpp index df56e51ea..55e581b9b 100644 --- a/src/driver/framebuffer.cpp +++ b/src/driver/framebuffer.cpp @@ -748,6 +748,7 @@ void CFrameBuffer::paintBoxRel(const int x, const int y, const int dx, const int fillrect.width = dx; fillrect.height = dy; ioctl(fd, FBIO_FILL_RECT, &fillrect); + checkFbArea(x, y, dx, dy, false); return; } #endif diff --git a/src/driver/framebuffer.h b/src/driver/framebuffer.h index 28df44527..3b6b0cd77 100644 --- a/src/driver/framebuffer.h +++ b/src/driver/framebuffer.h @@ -290,12 +290,7 @@ class CFrameBuffer FB_PAINTAREA_MAX }; -#if defined(FB_HW_ACCELERATION) - inline bool checkFbArea(int, int, int, int, bool) { return true; } -#else inline bool checkFbArea(int _x, int _y, int _dx, int _dy, bool prev) { return (fbAreaActiv && !fb_no_check) ? _checkFbArea(_x, _y, _dx, _dy, prev) : true; } -#endif - void setFbArea(int element, int _x=0, int _y=0, int _dx=0, int _dy=0); void fbNoCheck(bool noCheck) { fb_no_check = noCheck; } void doPaintMuteIcon(bool mode) { do_paint_mute_icon = mode; }