summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2023-05-31Slightly simplify Fl_Wayland_Window_Driver::makeWindow()ManoloFLTK
2023-05-22Slightly improve Fl_Wayland_Window_Driver::flush()ManoloFLTK
2023-05-22Slightly re-organize class Fl_Wayland_Window_DriverManoloFLTK
2023-05-20Fix name of static member variable Fl_Wayland_Screen_Driver::wl_displayManoloFLTK
and add explanatory comment.
2023-05-19 Fix Fl_Simple_Terminal::append(str, len) assumes a null terminated string ↵ManoloFLTK
(#728)
2023-05-17Add null-pointer check for tall menu window under Wayland+KDEManoloFLTK
2023-05-15Fix handling of tall menu windows with the KDE Wayland compositorManoloFLTK
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.
2023-05-13Wayland: improve tall menu window support with xdg_positioner_set_offset()ManoloFLTK
2023-05-12Wayland: slightly simpler surface_enter() for toplevel GL windowsManoloFLTK
2023-05-11Wayland: fix opening GL top-level window on 2-screen system - cont'dManoloFLTK
2023-05-11Wayland: fix opening GL top-level window on 2-screen systemManoloFLTK
2023-05-09Fix doxygen doc generation and document platform specific filesAlbrecht Schlosser
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.
2023-05-03Fl_Wayland_Screen_Driver::get_system_scheme() is not neededManoloFLTK
2023-05-03Wayland: clearer procedure to complete initialisation of screen dataManoloFLTK
2023-05-02 Wayland: problem with menus on secondary monitor - cont'd (#724)ManoloFLTK
2023-05-02Wayland: problem with dropdown menus on secondary monitor (#724)ManoloFLTK
2023-05-01Wayland: wl_cursor_theme_load() may return NULLManoloFLTK
2023-05-01Fix regression in Fl::screeen_xywh() introduced at 9ea0cc8ManoloFLTK
2023-05-01Check return values of calls to libxkbcommon functions (#727)ManoloFLTK
2023-04-30Allow building Wayland platform without dbus - cont'd (#726)ManoloFLTK
CMake-based building without dbus is made possible
2023-04-30Undid old change in Windows code that causes undesired results (STR 1115)Matthias Melcher
Windows created when another window was grab()'d would always become dependents under WIN32, hiding them when the grabbed window was hidden.
2023-04-29Fix crash reported in issues #723 and #724ManoloFLTK
2023-04-28Make sure Wayland surface size is integer multiple of wld_ scaleManoloFLTK
2023-04-28Improve integration with the OWL Wayland compositorManoloFLTK
2023-04-27Slightly simpler Fl_Wayland_Screen_Driver::open_display_platform()ManoloFLTK
2023-04-26Multiline Fl_Input: fix move up/down in non ASCII textManoloFLTK
2023-04-25Wayland filename drag-n-drop: fix final null byteManoloFLTK
2023-04-25Wayland: accept all data_device_manager protocol versionsManoloFLTK
2023-04-25Wayland: set required version of wl_seat protocol to 2ManoloFLTK
2023-04-24Windows: define _WIN32_IE for older MinGW versions (#710)Albrecht Schlosser
... if _WIN32_IE is not defined. Older MinGW versions would otherwise not define SHGFP_TYPE_CURRENT which is needed since commit 5a4e7caa54bab9da2061b0003bb546aa0da6ea1b that fixes GitHub issue #710: "Fl_Preferences not stored on Windows 10". This commit is based on Ian's work as discussed in fltk.coredev, thread "fltk-1.4 build error in Fl_WinAPI_System_Driver.cxx with 32-bit mingw" on Apr 20, 2023.
2023-04-23Replace internal fl_create_offscreen() calls by new Fl_Image_SurfaceManoloFLTK
2023-04-23Slightly simpler Fl_Wayland_Graphics_Driver::copy_offscreen()ManoloFLTK
2023-04-21Remove superfluous #include directiveManoloFLTK
2023-04-21Fl_Window_Driver::destroy_double_buffer() does not need overridesManoloFLTK
2023-04-21Remove unnecessary Fl_Window_Driver::flush_Fl_Window()ManoloFLTK
2023-04-20Wayland: keep window resizable after native file chooser - cont'dManoloFLTK
2023-04-20Wayland: keep window resizable after native file chooserManoloFLTK
2023-04-20Inform Wayland compositor that most FLTK windows are opaqueManoloFLTK
2023-04-17Add const qualifiers to can_undo and can_redo (#720)ZJUGKC
2023-04-17Move constant expression out of loopManoloFLTK
2023-04-17Wayland: account for memorised keyboard surface before wl_surface_destroy()ManoloFLTK
2023-04-15Remove scheme specific initialization from Fl_Tree_PrefsAlbrecht Schlosser
This initialization would prevent changing the 'selectbox' type automatically when changing the FLTK scheme. It would also require to set the FLTK scheme *before* the constructor of Fl_Tree_Prefs (i.e. Fl_Tree) is executed which is unexpected and error prone for user code. It is up to the user program to set another boxtype after the constructor if needed.
2023-04-14 Fix for "Wayland: heap-use-after-free after popup/pulldown" (#719)ManoloFLTK
2023-04-14Restore building with macOS SDK 10.9 and earlierManoloFLTK
2023-04-14Fixed leak in Fl_Text_Buffer #716Matthias Melcher
2023-04-14Memory leak in Input_ #716Matthias Melcher
2023-04-14macOS: remove calls to deprecated APIManoloFLTK
2023-04-14Remove duplication of Pango standard font namesManoloFLTK
And move each array of standard font names to appropriate font-related source file
2023-04-13Fix compiler warnings [-Wpedantic]Albrecht Schlosser
Remove extra semicolons after function definitions
2023-04-13Lower Pango required version from 1.22 to 1.16ManoloFLTK