ManoloFLTK
f5879ae228
Slight simplification of Fl_Wayland_Gl_Window_Driver::swap_buffers()
...
Also, reorder members of class Fl_Wayland_Gl_Window_Driver
2 years ago
ManoloFLTK
81615bbe0b
Fix Fl_Cocoa_Gl_Window_Driver::resize()
...
The additional [NSOpenGLContext flushBuffer] messages appear necessary when an Fl_Tile contains
2 or more GL subwindows.
2 years ago
ManoloFLTK
5196d66825
Wayland: improve mapping and hiding of GL (subs)windows
2 years ago
ManoloFLTK
38381ef544
Slightly simpler Fl_Wayland_Window_Driver::hide()
2 years ago
ManoloFLTK
eca471eee6
Wayland.dox: add a few more detailed explanations
2 years ago
ManoloFLTK
c43cf2f192
Wayland: improve support of multi-display setups
2 years ago
ManoloFLTK
742af8a31a
Wayland: fix menutitle windows with scaled, multiple display
2 years ago
ManoloFLTK
3166416e4c
libdecor: update with upstream source code as of 2023-jun-6
2 years ago
ManoloFLTK
c606914164
Fix building with -DOPTION_USE_SVG=Off
2 years ago
ManoloFLTK
2b430aa951
Fix "Cannot link if built with OPTION_PRINT_SUPPORT=OFF" ( #734 )
2 years ago
ManoloFLTK
7d7edcf50f
Documentation: remove « "FLTK", pronounced "fulltick" »
2 years ago
ManoloFLTK
87dec3af9c
libdecor: update with upstream source code as of 2023-may-26
2 years ago
ManoloFLTK
033ad1d732
Fix "Fl::get_font_name() with Pango is inconsistent"-cont'd ( #732 )
2 years ago
ManoloFLTK
bba90ce005
Fix "Fl::get_font_name() with Pango is inconsistent"-cont'd ( #732 )
2 years ago
ManoloFLTK
11c38c3e41
Fix "Fl::get_font_name() with Pango is inconsistent"-cont'd ( #732 )
2 years ago
ManoloFLTK
fcca08d841
Fix "Fl::get_font_name() with Pango is inconsistent"-cont'd ( #732 )
2 years ago
ManoloFLTK
64eafbefd6
Fix "Fl::get_font_name() with Pango is inconsistent" ( #732 )
2 years ago
ManoloFLTK
5be3fbf913
Improve re-use of client/compositor shared memory by Wayland buffers
2 years ago
Matthias Melcher
5dfa51a820
FLUID option to ignore some syntax checks
2 years ago
ManoloFLTK
56e94c4cdc
Wayland.dox: details about destruction of wl_shm_pool objects
2 years ago
ManoloFLTK
06fc052e5c
Fix "Huge memory leak under Wayland" ( #730 )
2 years ago
ManoloFLTK
c3217094db
Slightly simplify Fl_Wayland_Window_Driver::makeWindow()
2 years ago
ManoloFLTK
1abf1dd712
Wayland.dox: add "Menu windows and other popups" and miscellaneous
2 years ago
ManoloFLTK
4c057c57ae
Slightly improve Fl_Wayland_Window_Driver::flush()
2 years ago
ManoloFLTK
7020356df9
Slightly re-organize class Fl_Wayland_Window_Driver
2 years ago
ManoloFLTK
60440632ee
Fix name of static member variable Fl_Wayland_Screen_Driver::wl_display
...
and add explanatory comment.
2 years ago
ManoloFLTK
89454508a2
Fix Fl_Simple_Terminal::append(str, len) assumes a null terminated string ( #728 )
2 years ago
ManoloFLTK
033880673a
Add null-pointer check for tall menu window under Wayland+KDE
2 years ago
ManoloFLTK
e5ac5678dc
Fix handling of tall menu windows with the KDE Wayland compositor
...
Unfortunately (sigh), the KDE Wayland compositor does not seem to support
correctly, that is, as described by the Wayland protocol, popup windows
that are taller than the display : there is no means to make it draw such popup
so that part of it is above the screen top, whereas the 3 other tested compositors
(Mutter, Weston, Sway) don't have this problem.
This commit implements a new approach to draw tall menu windows, and uses
it only with the KDE compositor : instead of asking the compositor to slide the
menu window up, the menu window remains at a fixed position and the graphics
inside the window is slided up.
This requires to add a member variable, int offset_y, to class menuwindow, that
gets used only for the Wayland platform and that contains the vertical offset by which
graphics to the menu window is moved, expressed in FLTK units. An accessor
to the address of this member variable is added to class Fl_Window_Driver.
2 years ago
ManoloFLTK
1555132df1
Wayland: improve tall menu window support with xdg_positioner_set_offset()
2 years ago
ManoloFLTK
7a50c8234a
Wayland: slightly simpler surface_enter() for toplevel GL windows
2 years ago
ManoloFLTK
7ef6b9f802
Wayland: fix opening GL top-level window on 2-screen system - cont'd
2 years ago
ManoloFLTK
37abac2d8e
Wayland: fix opening GL top-level window on 2-screen system
2 years ago
ManoloFLTK
4fb18ffbdd
Fix "Provide --without-fluid configure option" - cont'd ( #725 )
2 years ago
Albrecht Schlosser
a4c6c18b3d
Fix doxygen doc generation and document platform specific files
...
Pure platform specific files like 'src/*_win32.cxx' are excluded from
doxygen processing and don't need doxygen specific guard macros.
Document this fact prominently at the beginning of each file.
Fix exclude patterns and remove duplicates from Doxyfile.in.
2 years ago
ManoloFLTK
fe0fcecd61
Fix "Provide --without-fluid configure option " ( #725 )
...
Add new --disable-fluid configure option.
2 years ago
Albrecht Schlosser
ac7b55d8bb
Fix some but not all memory leaks in test/utf8 demo
...
Note: Fl_Input::value() copies the string to an internal buffer,
fl_strdup() before value() is not necessary.
2 years ago
Albrecht Schlosser
712fc72fef
[CMake] Use an object library to speed up fluid build
...
Currently 'fluid' comes as up to three different targets, compiled
from the same source files (fluid, fluid-cmd, and fluid-shared).
The object library is built from all source files except fluid.cxx
and finally all 'fluid*' programs are linked with this library.
This avoids compiling the same source files multiple times.
2 years ago
ManoloFLTK
89a2b1a7a8
Fl_Wayland_Screen_Driver::get_system_scheme() is not needed
2 years ago
ManoloFLTK
a94fed77e4
Wayland: clearer procedure to complete initialisation of screen data
2 years ago
ManoloFLTK
9ffeef7697
Wayland: problem with menus on secondary monitor - cont'd ( #724 )
2 years ago
ManoloFLTK
ef5bf60239
Wayland: problem with dropdown menus on secondary monitor ( #724 )
2 years ago
ManoloFLTK
cad6e63296
libdecor: update with upstream source code as of 2023-may-2
...
This will allow to create narrow decorated windows without crash.
2 years ago
ManoloFLTK
0394a27074
Wayland: wl_cursor_theme_load() may return NULL
2 years ago
ManoloFLTK
02c7ee5128
Fix regression in Fl::screeen_xywh() introduced at 9ea0cc8
2 years ago
ManoloFLTK
ae65a6bf99
Check return values of calls to libxkbcommon functions ( #727 )
2 years ago
ManoloFLTK
3e2c8d5a95
Allow building Wayland platform without dbus - cont'd ( #726 )
...
CMake-based building without dbus is made possible
2 years ago
Matthias Melcher
a2929b15ba
Undid old change in Windows code that causes undesired results (STR 1115)
...
Windows created when another window was grab()'d would always become
dependents under WIN32, hiding them when the grabbed window was hidden.
2 years ago
ManoloFLTK
cdd1566cf9
Allow building Wayland platform without dbus ( #726 )
...
This commit supports configure-based builds without the dbus-dev package;
CMake-based builds are expected to be changed in further commit.
2 years ago
ManoloFLTK
7a8343e7e4
Fix crash reported in issues #723 and #724
2 years ago