Commit Graph

9882 Commits

Author SHA1 Message Date
Albrecht Schlosser 232743c3a5 Fix Fl_Counter event handling (#450, part 2)
This fixes some issues of the repeat timeout of Fl_Counter. It could
happen that the widget missed the FL_RELEASE event, for instance if
a modal window like fl_message() was opened in the callback but there
could be other reasons as well. See issue #450 for more info.
2022-06-17 17:16:59 +02:00
Albrecht Schlosser f3bf231cc0 Improve reliability of timeout handling (#450, part 1)
This commit prevents "timer loops" without intermediate event handling
if callback handling takes longer than the timer delay of repeating
timers.

For more details see GitHub issue #450.
2022-06-17 17:05:10 +02:00
ManoloFLTK d8eb1f9ca4 Minor simplification of Fl_Wayland_Graphics_Driver::cairo_init. 2022-06-13 16:37:25 +02:00
ManoloFLTK 394298aff4 Add explanatory comment about WL_SHM_FORMAT_ARGB8888 and CAIRO_FORMAT_ARGB32. 2022-06-13 16:19:43 +02:00
ManoloFLTK 2fc2c5b562 Fix support of transparent windows by wayland platform. 2022-06-13 10:41:24 +02:00
MatthiasWM 1b1e8a4d46 Issue #141: fl_filename_absolute bugs fixed for MSWindows. 2022-06-12 14:53:06 +02:00
Matthias Melcher 995e3118a6 Local `isdirsep()` must not be visible to the outside. 2022-06-12 14:14:23 +02:00
Matthias Melcher e6ca751e92 Issue #142: fl_filename_absolute correctly handles trailing "..". 2022-06-12 14:07:16 +02:00
ManoloFLTK c6516673ee New member Fl_Cairo_Graphics_Driver::bitmap_to_pattern() to avoid code duplication. 2022-06-12 09:04:22 +02:00
ManoloFLTK 78ca44ccca Fix Fl_Wayland_Window_Driver::shape_bitmap_(Fl_Image*). 2022-06-11 15:19:37 +02:00
Matthias Melcher 79be9fb792 Reverting previous fix.
It introduced a new issue. Sorry!
2022-06-11 12:36:59 +02:00
Matthias Melcher 9c89a7f320 Handling trailing ".." in fl_filename_absolute. 2022-06-11 12:34:47 +02:00
Matthias Melcher bcbdf5546f Some docs for printing asynchronously. 2022-06-11 11:57:15 +02:00
ManoloFLTK 23d0a631cf Remove useless code from Fl_Wayland_Window_Driver::{un}map()
That code was useless because map() and unmap() get only called for subwindows.
2022-06-11 09:36:16 +02:00
ManoloFLTK c94f8fa693 Wayland: update known limitation about minimum window width. 2022-06-08 16:41:08 +02:00
ManoloFLTK 09340be683 libdecor GTK: remove the last code change required by FLTK. 2022-06-08 14:43:25 +02:00
ManoloFLTK fac3c2fb04 libdecor GTK plugin: update from upstream (8 Jun 2022 - de9534d2)
Two more FLTK changes become unneeded.
2022-06-08 13:58:28 +02:00
ManoloFLTK 88bc94c932 libdecor GTK plugin: update from upstream (7 Jun 2022 - 8fc5c88c)
This removes a bunch of FLTK changes.
2022-06-08 11:51:54 +02:00
ManoloFLTK 6add57d4bd Wayland under FreeBSD: use package evdev-proto which brings linux/input.h 2022-06-06 15:32:54 +02:00
ManoloFLTK 831d8b5a58 libdecor: add recent upstream changes in GTK plugin (31 may 2022 - d4f16da1) 2022-06-04 14:44:41 +02:00
ManoloFLTK a7de80d6f7 Fix for issue #447: dotted focus rectangles are a little "ragged" with some scales. 2022-06-04 11:44:21 +02:00
ManoloFLTK bdd340e1e1 libdecor - GTK plugin: pull upstream changes (0542faad - 21 may 2022).
But keep FLTK changes.
2022-05-27 11:45:53 +02:00
ManoloFLTK 5afd0bb44a libdecor: pull upstream changes (a382710b on 28 apr 2022). 2022-05-27 10:58:23 +02:00
ManoloFLTK b78035624d Fl_Cairo_Graphics_Driver: fix GUI rescaling.
The solution to avoid blurred graphics when the GUI is scaled is to turn off
cairo antialiasing when drawing horizontal and vertical lines and rectangles.
2022-05-27 08:58:35 +02:00
ManoloFLTK 7fcd4b73d7 Wayland platform: more accurate procedure to map a GL (sub)window. 2022-05-25 18:37:43 +02:00
ManoloFLTK a118732f7c Improve rectf() and push_clip() under cairo and GUI scaling. 2022-05-25 16:05:36 +02:00
ManoloFLTK 8028fc3cfc More about FreeBSD support in README.Wayland.txt 2022-05-24 11:41:00 +02:00
ManoloFLTK 6c6a80b90e Add detailed explanations in Fl_Wayland_Gl_Window_Driver::make_current_before() 2022-05-24 11:07:04 +02:00
ManoloFLTK d971f6f59f Simpler, compositor-independent procedure to map GL window under Wayland. 2022-05-23 19:45:12 +02:00
ManoloFLTK 7805a3a663 Minor changes in FreeBSD-related text. 2022-05-22 20:10:16 +02:00
Albrecht Schlosser 40569e53c7 Fix MinGW build with shared libs (#445)
Add missing lib 'gdiplus' to shared libs.
2022-05-22 00:07:40 +02:00
ManoloFLTK ad96df9e93 Wayland under FreeBSD: detect <GL/glu.h> and fix LIBDECOR_PLUGIN_DIR. 2022-05-21 07:55:03 +02:00
ManoloFLTK de91a92e67 Wayland under FreeBSD: add support for CMake-based builds. 2022-05-20 17:46:05 +02:00
ManoloFLTK 9c9ce66d05 Wayland under FreeBSD: fix support of GL windows. 2022-05-20 15:22:28 +02:00
ManoloFLTK f8bdf2cd87 Fix default value of LIBDECOR_PLUGIN_DIR preprocessor variable. 2022-05-20 08:42:53 +02:00
ManoloFLTK 6686d2bfa9 Wayland platform: add support of FreeBSD version 13.1 2022-05-19 17:18:53 +02:00
ManoloFLTK 1c37c29e2d Avoid "hides overloaded function" warning messages. 2022-05-19 10:28:39 +02:00
ManoloFLTK 905a90f660 Make Fl_Wayland_Screen_Driver::close_display() close the GL connection if any. 2022-05-17 12:11:18 +02:00
ManoloFLTK f01216f167 Weston support: handle click on titlebar. 2022-05-17 10:40:09 +02:00
ManoloFLTK b2bd12ae5e Fix Fl_Wayland_Window_Driver::wait_for_expose() - still WIP. 2022-05-16 19:22:57 +02:00
ManoloFLTK 2c52ebe210 Improve Fl_Wayland_Window_Driver::wait_for_expose(). 2022-05-16 16:34:59 +02:00
ManoloFLTK 5747c3eed9 Fix Fl_Wayland_Window_Driver::take_focus() required for recent Wayland versions. 2022-05-16 11:25:28 +02:00
ManoloFLTK 6efdcb1e6f Simpler code to map GL windows under Wayland. 2022-05-15 09:04:47 +02:00
ManoloFLTK b6dae138d4 Restore top-level GL window under Weston. 2022-05-14 17:21:25 +02:00
ManoloFLTK 7fe6f4cf1d Have FLTK follow the Wayland surface holding keyboard focus. 2022-05-13 09:13:11 +02:00
ManoloFLTK 4b30f78567 Remove warning: 'virtual void Fl_Graphics_Driver::xyline(int, int, int, int)' was hidden. 2022-05-11 15:57:44 +02:00
ManoloFLTK 879f5f0770 Slightly simplify Fl_Wayland_Window_Driver::use_border(). 2022-05-10 17:26:37 +02:00
ManoloFLTK 9d054a169b Remove typos. 2022-05-10 17:00:32 +02:00
ManoloFLTK a638d90e00 Add missing closing parenthesis. 2022-05-10 16:56:25 +02:00
ManoloFLTK b6e0122926 Fix for issue #441: Some minor regressions with borderless+fullscreen (Wayland). 2022-05-10 16:52:46 +02:00