summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-04-03Wayland: update comment about differences between compositorsManoloFLTK
Mutter goes back to what it did in earlier versions. Fortunately, FLTK can handle this change.
2023-04-03Wayland + Weston: fix focus loss after click on titlebarManoloFLTK
2023-04-02 Fix "Wayland: non-resizable windows are positioned in the wrong place" (#711)ManoloFLTK
2023-04-02Add details about what version of Ubuntu is required for WaylandManoloFLTK
2023-04-02Fix "recipe for target '../../src/xdg-decoration-protocol.c' failed" (#704)ManoloFLTK
2023-03-29Improve detection of the location of Wayland protocol files across OSesManoloFLTK
2023-03-29Improve Wayland support of Fl::event_key(int)ManoloFLTK
Key pressed when the Wayland window acquires focus are now detected.
2023-03-29Complete explanatory comment about Weston compositorManoloFLTK
2023-03-29Wayland: improve switching window to/from fullscreen modeManoloFLTK
The call to Fl_Window::fullscreen() can be made before or after the window is show()'n Tested compositors: Mutter, Plasma, Weston.
2023-03-28Wayland + Plasma: fix switching fullscreen mode for borderless windowManoloFLTK
2023-03-28Wayland: fix regression in test/fullscreenManoloFLTK
Commit e918d94 to fix issue #708 broke turning back from fullscreen state for borderless window, visible in test/fullscreen.
2023-03-27Windows: use SHGetFolderPathW() for application data folder (#710)Albrecht Schlosser
See GitHub issue #710: "Fl_Preferences not stored on Windows 10" Summary: don't use the undocumented registry key "Shell Folders", use function SHGetFolderPathW() instead although this function is meanwhile deprecated (but available since Windows XP). Note: tested with 32-bit build running on Windows XP (works).
2023-03-27Wayland: move "struct seat" inside class Fl_Wayland_Screen_DriverManoloFLTK
2023-03-27Complete Fl_Wayland_Screen_Driver::close_display()ManoloFLTK
2023-03-26Improve methods Fl_Wayland_Screen_Driver::en/disable_im()ManoloFLTK
2023-03-26Implement methods Fl_Wayland_Screen_Driver::en/disable_im()ManoloFLTK
2023-03-25Wayland: remove compilation warning (#706) - cont'dAlbrecht Schlosser
The previous attempt to fix this issue in commit dcb4c39956092b6a4b9d8e0e85c2065099804119 missed to remove the keyword 'struct' in the offending statement. This new commit actually removes the compiler warning.
2023-03-25configure: test jpeg lib before png and zlibAlbrecht Schlosser
For some obscure reason finding the jpeg lib *after* configuring for local zlib and/or local png lib failed and thus switched to using the local jpeg unexpectedly. Searching for jpeg libs before png/zlib fixes this issue. Note: this is a pragmatic fix (aka workaround) rather than fixing the underlying issue. It would be interesting to find out why this happened.
2023-03-25Wayland: slightly simpler writing of function wl_keyboard_key()ManoloFLTK
2023-03-25Add Fl_Cairo_Graphics_Driver::focus_rect() overrideManoloFLTK
This allows to bypass what looks like a Cairo bug: FLTK_SCALING_FACTOR=1.7 bin/test/tabs click on tab2 ---> crash But no crash with other scaling factor values (e.g., 1.8).
2023-03-25Wayland: Fl::get_key(c) for lower case letters different behavior from X11 ↵ManoloFLTK
(#404)
2023-03-25More accurate documentation of function fl_wl_cairo()ManoloFLTK
2023-03-24Wayland Fl_Copy_Surface and Fl::copy() issues (#707) - cont'dManoloFLTK
2023-03-24Fix: Wayland backend draws everything two or three times (#708)ManoloFLTK
2023-03-23Wayland: remove compilation warning (#706)ManoloFLTK
drivers/Wayland/Fl_Wayland_Window_Driver.cxx:1515:47: warning: declaration ‘struct wld_window::custom_cursor’ does not declare anything
2023-03-23Improve Fl_Cairo_Window documentation (typos + indentation)Albrecht Schlosser
Also fix a doxygen warning in Fl_String.
2023-03-22Remove extraneous Wayland-related comment from Windows codeManoloFLTK
2023-03-22Fix option CAIRO_EXT in combination with X11 on macOSAlbrecht Schlosser
This modification became necessary since "__APPLE__" is no longer undefined by the build system when X11 is used on macOS.
2023-03-22Fix test/demo for X11 on macOS (e.g. XQuartz)Albrecht Schlosser
This modification became necessary since "__APPLE__" is no longer undefined by the build system when X11 is used on macOS.
2023-03-22CMake: check for presence of needed Wayland protocol source filesManoloFLTK
2023-03-21osissues.dox: add "The Wayland/X11 hybrid library"ManoloFLTK
2023-03-20Add documentation of 0S-specific fl_mac_gc()ManoloFLTK
2023-03-20Wayland: attempt to improve registry_handle_global_remove()ManoloFLTK
This function still needs to be tested on a true multi-display Unix box
2023-03-20Simulate one display for OWL Wayland compositorManoloFLTK
2023-03-19Fix and consolidate settings dialogs (#346, #703)Matthias Melcher
2023-03-18Fix gl_rect and OGL::fl_point #688Matthias Melcher
2023-03-18Fix and update alignment #346 (#701)Matthias Melcher
* interactive layout alignment rewritten * interface for new alignment rules * new alignment dialog box * user defined layout rules added * layout rules can be stored in projects, settings, and external files * Valgrind verification
2023-03-16Rename bool variable for better clarityManoloFLTK
2023-03-15Protect GL_SILENCE_DEPRECATION from re-definition.Rob McDonald
2023-03-14Cairo: introduce Fl::cairo_flush() in FLTK APIAlbrecht Schlosser
Flushing the Cairo context is necessary on Windows to make Cairo drawings appear on the device (screen). This new method makes it easy for user code to do this correctly after using Cairo drawings. - add Fl::cairo_flush(cairo_t *) - document Fl::cairo_flush(cairo_t *) - reformat Cairo doxygen docs and code (partially) - use the new method in Fl_Cairo_Window - use the new method in test/cairo_test.cxx - other minor (text) changes in test/cairo_test.cxx - add test/cairo_test to the demo menu (test/demo.menu)
2023-03-14Fix Fl_Wayland_Screen_Driver::get_mouse() for scale factor effectManoloFLTK
2023-03-14Wayland: add support for multiple high or low DPI displays - cont'dManoloFLTK
2023-03-14Wayland: improve cursor_surface_enter()ManoloFLTK
2023-03-13Fix Fl_Wayland_Window_Driver::set_cursor_4args()ManoloFLTK
2023-03-13Remove unused variableManoloFLTK
2023-03-13Wayland.dox: document recent changes about custom cursorsManoloFLTK
2023-03-13Wayland: add support for multiple high or low DPI displaysManoloFLTK
2023-03-12Simplify the previous Cairo drawing fix (#694)Albrecht Schlosser
The Cairo context 'cc' should be used directly rather than calling 'Fl::cairo_cc()' again. Sorry for the noise.
2023-03-12Fix Cairo drawing in test/cairo_test demo for Windows (#694)Albrecht Schlosser
On the Windows platform Cairo drawings must be flushed explicitly. This is done in Fl_Cairo_Window after calling the draw callback but it was neither done nor documented in test/cairo_test.cxx when using another type of Window with its overloaded draw() method, i.e. when FLTK was configured with --enable-cairoext or CMake OPTION_CAIROEXT. Note: user code must either explicitly flush the Cairo drawings as done here or destroy the Cairo context which is not done in this demo because the Cairo context should be kept alive.
2023-03-10Fix c'tor of Fl_Wayland_Image_Surface_Driver for HighDPI displaysManoloFLTK