summaryrefslogtreecommitdiff
path: root/src/drivers
AgeCommit message (Collapse)Author
2024-02-11 KDE+X11 keyboard stops working after menu display (#904)ManoloFLTK
2024-02-09Change parameters of Fl_Wayland_Window_Driver::delete_cursor()ManoloFLTK
2024-02-08Improve Fl_Wayland_Window_Driver::hide()ManoloFLTK
2024-02-06Fix window moving in Fl_Wayland_Window_Driver::resize()ManoloFLTK
2024-02-05Fl_Window_Driver::set_popup_window(), ↵ManoloFLTK
Fl_Screen_Driver::screen_boundaries_known() Fl_Window_Driver::set_popup_window() is to be used to declare a window should be positioned relatively to a previously mapped other window. This allows a platform to process such windows differently from other windows if needed. Menu and tooltip windows are so declared. A call to Fl_Window_Driver::set_popup_window() also allows to distinguish a real menu or tooltip window from a window marked by Fl_Window::set_menu_window() or by Fl_Window::set_tooltip_window() but that's not a real menu or tooltip. New member function bool Fl_Screen_Driver::screen_boundaries_known() returns true by default. A platform where the position of windows inside a screen is hidden (e.g., Wayland) returns false. This allows FLTK to refrain from trying to make sure a computed position is inside a screen.
2024-02-04Shorten parameter list of Fl_Wayland_Window_Driver::delete_cursor_(bool)ManoloFLTK
2024-02-03Wayland: fix setting cursor to FL_NO_CURSORManoloFLTK
2024-01-29Fix cached GL context on all platforms (#737)Matthias Melcher
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