From 82bd0b66522dbdfcfe6274157bb2eaedd3c8051e Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Fri, 15 Mar 2024 09:43:35 +0100 Subject: Have FLTK use libdecor at version > 0.2.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - it's no longer necessary to take care of the change in the layout of "struct libdecor" between versions ≤ 0.2.2 and > 0.2.2 of libdecor - version > 0.2.2 contains MR131, that is, it defines LIBDECOR_WINDOW_STATE_RESIZING so the hack to emulate it is no longer necessary - CMake option FLTK_USE_SYSTEM_LIBDECOR now requires libdecor version > 0.2.2 to be activated, otherwise the bundled libdecor is used - what will be the libdecor version after 0.2.2 (0.2.3? 0.3.0?) is not known as of today --- README.CMake.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'README.CMake.txt') diff --git a/README.CMake.txt b/README.CMake.txt index f8768dc8b..b117b6b9f 100644 --- a/README.CMake.txt +++ b/README.CMake.txt @@ -282,12 +282,12 @@ FLTK_USE_PTHREADS - default ON except on Windows. This option is ignored (switched OFF internally) on Windows except when using Cygwin. -FLTK_USE_SYSTEM_LIBDECOR - default ON (Wayland only) +FLTK_USE_SYSTEM_LIBDECOR - default OFF (Wayland only) This option makes FLTK use package libdecor-0-dev to draw window titlebars - under Wayland. When OFF or when this package has a version < 0.2.0, FLTK + under Wayland. When OFF or when this package has a version ≤ 0.2.2, FLTK uses its bundled copy of libdecor to draw window titlebars. - As of november 2023, version 0.2.0 of package libdecor-0-dev is available - only in testing distributions. + As of early 2024, no version > 0.2.2 of package libdecor-0-dev is available + yet. FLTK_USE_SYSTEM_LIBJPEG - default ON (macOS and Windows: OFF) FLTK_USE_SYSTEM_LIBPNG - default ON (macOS and Windows: OFF) -- cgit v1.2.3