summaryrefslogtreecommitdiff
path: root/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-08-06 17:30:44 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-08-06 17:30:44 +0200
commitb25549ffa7a62bf492be93a8ffb8b9a0d62e0613 (patch)
tree182a19539a896e08b1b6edb70308a9ba99ce3d4f /src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx
parent149673863d0e3aeddfe5c87e4e6c2ac9862954e1 (diff)
Wayland: make sure wl_surface_frame() is followed by wl_surface_commit().
Diffstat (limited to 'src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx')
-rw-r--r--src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx
index 34a9e30db..e817b6840 100644
--- a/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx
+++ b/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx
@@ -26,6 +26,7 @@
#include <sys/mman.h>
#include <unistd.h> // for close()
#include <errno.h>
+#include <string.h> // for strerror()
extern unsigned fl_cmap[256]; // defined in fl_color.cxx