summaryrefslogtreecommitdiff
path: root/src/drivers
AgeCommit message (Collapse)Author
2024-01-29Fix OpenGL context caching on macOS (#737)Matthias Melcher
2024-01-22Fl_Preferences: fix missing '/' (#891)Albrecht Schlosser
Without the '/' FLTK 1.4 wouldn't fall back to the 1.3 prefs folder even if it existed.
2024-01-22Fix warning.Matthias Melcher
2024-01-22Fix wrong path var and typosMatthias Melcher
2024-01-22Fix User Preferences file search order for Unix (#891)Matthias Melcher
2024-01-22Add popup_window() virtual member functions to Fl_Window_DriverManoloFLTK
2024-01-21 Fix Wayland: crash with set_menu_window() - cont'd (#892)ManoloFLTK
2024-01-21 Fix Wayland: crash with set_menu_window() - cont'd (#892)ManoloFLTK
2024-01-21Fix "Wayland: crash with set_menu_window()" (#892)ManoloFLTK
Fixes also a similar crash occuring after use of set_tooltip_window(). Two bool member variables are added to class Fl_Window_Driver to indicate true FLTK menu windows (i.e., created by Fl_Menu_Item::pulldown()) and true FLTK tooltip windows (i.e., Fl_Tooltip).
2024-01-19Fix compiler warning [-Wmaybe-uninitialized]Albrecht Schlosser
'buf' could indeed be used uninitialized if the switch statement below was executed with an unknown style (no default case).
2024-01-19Wayland: add necessary initializations after commit b7fba46ManoloFLTK
2024-01-18Create struct wl_callback_listener ↵ManoloFLTK
*Fl_Wayland_Graphics_Driver::p_surface_frame_listener
2024-01-18Wayland: throttle resize operations also for top-level GL windowsManoloFLTK
Member cb of struct wld_buffer is replaced by member frame_cb of struct wld_window. This allows frame_cb to be used both for non-GL and for top-level GL windows.
2024-01-17 Wayland + full-size subwindow resizing issue - cont'd (#878)ManoloFLTK
Implement a less strict handling of resizing of a decorated window entirely covered by a subwindow where throttling of fast resize commands is guided by the value of the in_use member variable of the window's wld_buffer.
2024-01-13Wayland: fix processing of keypad keys - cont'd (#881)ManoloFLTK
2024-01-07Wayland: fix processing of keypad keys - tidying (#881)ManoloFLTK
2024-01-06Wld: Add missing keypad key to keypad translation table (#881)Albrecht Schlosser
Keypad key 'Del' aka '.' (or ',') was missing in the key translation table for Fl::e_original_keysym. Also: add DEBUG_KEYBOARD macro to enable/disable keyboard debugging code easier.
2024-01-06 Wld: Fix e_original_keysym for keypad number keys + NumLock off (#881)ManoloFLTK
2024-01-06Wayland: fix processing of '.' keypad key (#881)ManoloFLTK
2024-01-05Wayland: numeric keypad keys don't work as intended - cont'd (#881)ManoloFLTK
2024-01-05 Wayland: numeric keypad keys don't work as intended (#881)ManoloFLTK
2023-12-28Fix for bug in Mutter Wayland compositor (#878) - cont'dManoloFLTK
Add more tests to do additional operations under stricter conditions
2023-12-28Fix for bug in Mutter Wayland compositor (#878)ManoloFLTK
Mutter implements too strictly this rule expected from compositors about "frame callbacks" : "A server should avoid signaling the frame callbacks if the surface is not visible in any way, e.g. the surface is off-screen, or completely obscured by other opaque surfaces." When a window is being interactively resized, it makes no sense to create a frame callback for an entirely covered surface but then never signal the surface can be redrawn, because this blocks the resize operation. Neither KWin nor Weston have this problem.
2023-12-26Wld: export only member functions for ./configure --enable-shared (#872)ManoloFLTK
2023-12-21Fix a typo, trailing whitespace, and dependenciesAlbrecht Schlosser
2023-12-20Restore "configure --enable-shared" under Linux (#872)ManoloFLTK
2023-12-19Procedure to instruct FLTK to use given X11 connexion (#149)ManoloFLTK
2023-12-18 Wayland: Menu items are accessible when mouse is over another win (#869)ManoloFLTK
2023-12-16#842: Enables command line color arguments on macOSMatthias Melcher
2023-12-14FLTK implementation of the "GTK Shell" Wayland protocol - cont'dManoloFLTK
The loop over all libdecor-gtk decorations is now made using libdecor's data structures, rather than using FLTK's mapped window list.
2023-12-13#840: Fixes fixed buffer size in Fl::args_to_utf8()MatthiasWM
2023-12-13FLTK implementation of the "GTK Shell" Wayland protocol - cont'dManoloFLTK
The pointer_enter() function now checks that its non-FLTK wl_surface argument is the wl_surface of the titlebar of a GTK-decorated window.
2023-12-13macOS platform + GLUT: fix crash with glut_test - cont'dManoloFLTK
2023-12-13Wayland+GLUT: fix crash in glut_test application - cont'dManoloFLTK
2023-12-12Wayland+GLUT: fix crash in glut_test applicationManoloFLTK
2023-12-12macOS platform + GLUT: fix crash with glut_test appManoloFLTK
2023-12-10Replace wl_output_destroy() by wl_output_release() when possibleManoloFLTK
2023-12-05Wayland: much lighter but partial implementation of the "GTK Shell" protocolManoloFLTK
Only the middle-button click gesture is implemented which avoids interference with what libdecor does with right-click and double-click.
2023-12-04Fix compiler warningsAlbrecht Schlosser
fluid/code.cxx: unused variable src/drivers/Xlib/Fl_Xlib_Graphics_Driver_font_x.cxx: function may return address of local variable [-Wreturn-local-addr]
2023-12-04New member function Fl_Image_Surface::mask(Fl_RGB_Image*)ManoloFLTK
2023-12-02Wayland: make OPTION_USE_SYSTEM_LIBDECOR ON by defaultManoloFLTK
This commit makes the default FLTK build setting use libdecor as packaged in Linux when the build system contains packages libdecor-0-dev and libdecor-0-plugin-1-gtk in version ≥ 0.2.0. Otherwise, FLTK uses the bundled version of libdecor. This includes situations where package libdecor-0-dev is present in an earlier version.
2023-12-01Fixes name conflict in X11 GL swap_intervalMatthias Melcher
2023-11-30Fixes anonymous union intialisation for C++98Matthias Melcher
2023-11-29Add commandline conversion for Windows (no-op on other platforms)Albrecht Schlosser
- add Fl::args_to_utf8() to convert commandline arguments to UTF-8 This new function closes the gap that previously only Visual Studio applications converted their commandlines to UTF-8. Tested with MinGW, MSYS2/MinGW-w64, and Visual Studio (2019).
2023-11-29Merge branch 'master' of https://github.com/fltk/fltkMatthiasWM
2023-11-29Implements swap_interval for MSWindows.MatthiasWM
2023-11-28Adds OpenGL swap_interval for Wayland and X11.Matthias Melcher
2023-11-28Rearrange PostScript graphics driver code redundant with Cairo driverManoloFLTK
2023-11-28Remove PostScript graphics driver code redundant with Cairo driverManoloFLTK
2023-11-27Fix compiler warning, dependencies, and trailing whitespaceAlbrecht Schlosser
The benign warning was: ‘Fl_Browser_::hscrollbar’ will be initialized after [-Wreorder] ‘int Fl_Browser_::linespacing_’ ...