From 5400811b83ea38ce2b746867014e048bc2a8a922 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Wed, 13 Mar 2024 15:23:43 +0100 Subject: Update libdecor to upstream commit 4f2c03d5 - cont'd --- documentation/src/wayland.dox | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'documentation/src/wayland.dox') diff --git a/documentation/src/wayland.dox b/documentation/src/wayland.dox index 56f47c208..88f4d4dbf 100644 --- a/documentation/src/wayland.dox +++ b/documentation/src/wayland.dox @@ -694,7 +694,7 @@ FLTK creates a \c wl_buffer object each time an Fl_Window is mapped on a display That's done by member function \c Fl_Wayland_Graphics_Driver::create_shm_buffer() which follows this 3-step procedure to create a "buffer factory" for FLTK and to construct Wayland buffers from it: -- Libdecor function os_create_anonymous_file(off_t size) creates an adequate file +- Libdecor function libdecor_os_create_anonymous_file(off_t size) creates an adequate file and mmap's it. This file lives in RAM because it is created by function \c memfd_create(). FLTK sets this file size to 10 MB unless the size of the buffer to be created is larger; in that case the anonymous file is sized to twice the buffer size. -- cgit v1.2.3