summaryrefslogtreecommitdiff
path: root/src/Fl_Screen_Driver.cxx
AgeCommit message (Collapse)Author
2 dayswi[maxim nikonov
2025-03-30Fixes a couple of compiler warnings on AppleClang.Matthias Melcher
2024-10-06Update comment, sorry for the noiseAlbrecht Schlosser
2024-10-06Add comments regarding X11 keyboard layout handlingAlbrecht Schlosser
This commit doesn't change the code flow although the code has been slightly refactored.
2024-03-12Fix use of FLTK_SCALING_FACTOR under macOSManoloFLTK
2024-03-04Fix Scaling window up/down also scales X/Y position on secondary displays ↵ManoloFLTK
only (#925)
2024-03-03A window needs is_resizable() true to obey fullscreen() or maximize()ManoloFLTK
2024-03-02Fix regression introduced at 41740ca for non resizable windows - cont'dManoloFLTK
2024-03-02Add OPTION_SIMPLE_ZOOM_SHORTCUT to fine tune zoom-in shortcutManoloFLTK
2024-03-01Windows: improve changing scale values of display while app runs.ManoloFLTK
2024-03-01Windows: make Ctrl/+/-/0/ scaling system-wide if all screens have same DPIManoloFLTK
2024-02-29Move recognition of Ctrl= out of Fl::test_shortcut(unsigned)ManoloFLTK
2024-02-28Simplify code to recognize GUI rescaling shortcutsManoloFLTK
2024-02-27Fix regression introduced at 41740ca for non resizable windowsManoloFLTK
2024-02-27Improve prioritization of event handlers added at open display timeManoloFLTK
2024-02-27Stop GUI scaling when window is maximized or full screen (#919)ManoloFLTK
Don't rescale when any top window on same screen as focus window is fullscreen or maximized
2024-02-26Don't rescale when top window is fullscreen or maximized (#919)ManoloFLTK
2024-02-20 Add scale_handler first so it has least priority of all handlersManoloFLTK
2024-02-11Improve recognition of re-scaling shortcuts - cont'dManoloFLTK
2024-02-11Improve recognition of re-scaling shortcuts w/ various keyboard layoutsManoloFLTK
2023-12-16#842: Enables command line color arguments on macOSMatthias Melcher
2023-10-24Wayland: implement scale factor windows as popups - cont'dManoloFLTK
2023-10-24Wayland: implement scale factor windows as popups - cont'dManoloFLTK
2023-10-23Wayland: simpler implementation of transient scale factor windowsManoloFLTK
2023-10-23Wayland: implement transient scale factor windows as popupsManoloFLTK
as discussed in issue #794. Also, fix for macOS the use of the FL_FOCUS event for these transient windows
2023-10-21 Fix "Keyboard sometimes stops working after Ctrl/+ or Ctrl/-" (#794)ManoloFLTK
2023-10-19Fix "Keyboard sometimes stops working after Ctrl/+ or Ctrl/-" (#794)ManoloFLTK
2023-10-19 Fix for "Keyboard sometimes stops working after Ctrl/+ or Ctrl/-" (#794)ManoloFLTK
2023-07-19Fix textcolor of transient scale display (#756)Albrecht Schlosser
Make background color and text (label) color of the transient scale display consistent with tooltip colors.
2023-02-02Fix position() methods that shadow Fl_Widget::position()Matthias Melcher
* `FL_DEPRECATED` macro to mark `position()` method that shadow `Fl_Widget::position()` #69 (#666)
2023-01-14Extend commit a4b33f8 to other uses of function convert_crlf()ManoloFLTK
Helper function convert_crlf() from file fl_wayland_clipboard_dnd.cxx has been repaired by commit a4b33f8 (13 jan 2023). But the same function was also in file Fl_cocoa.mm. This commit moves the repaired code to class Fl_Screen_Driver and has both fl_wayland_clipboard_dnd.cxx and Fl_cocoa.mm use it.
2022-11-07Create class Fl_Unix_Screen_Driver used by X11 and Wayland platformsManoloFLTK
2022-09-26Replace all calls to sprintf() by calls to snprintf().ManoloFLTK
2022-08-29Make hybrid Wayland/X11 platform.ManoloFLTK
2022-06-19Move input method support to Fl_Screen_Driver from Fl_Graphics_DriverManoloFLTK
2021-06-18Revert parts of and fix other 'constness' changes (#239, #181)Albrecht Schlosser
Some of the previous constness changes turned out to be incomplete, others had to be reverted because some other driver methods could not be made 'const' - particularly those calling open_display() to get the requested information.
2021-06-16Make non-const Fl_Screen_Driver methods const (#181)Albrecht Schlosser
As requested by issue #181: "Fl_Screen_Driver.H non-const functions should be const" Not all methods could be made 'const' because some screen related methods call init() internally.
2021-06-09Don't activate scaling shortcuts if platform doesn't support scaling.ManoloFLTK
2021-02-13Remove compilation warnings issued by Visual Studio 2019.ManoloFLTK
2020-07-06Remove $Id$ tags, update URL's, and moreAlbrecht Schlosser
- remove obsolete svn '$Id$' tags from all source files - update .fl files and generated files accordingly - replace 'http://www.fltk.org' URL's with 'https://...' - replace bug report URL 'str.php' with 'bugs.php' - remove trailing whitespace - fix other whitespace errors flagged by Git - add and/or fix missing or wrong standard headers - convert tabs to spaces in all source files The only relevant code changes are in the fluid/ folder where some .fl files and other source files were used to generate the '$Id' headers and footers.
2020-02-11Fix static analyzer errors and warningsAlbrecht Schlosser
Fix several bugs found by scan-build (more to come). https://clang-analyzer.llvm.org/scan-build.html See also current travis-ci build log with static analyzer, e.g. https://travis-ci.com/fltk/fltk/jobs/285426415 (link may become invalid in the future).
2020-01-31Update Fl::keyboard_screen_scaling()Albrecht Schlosser
- make the internal variable static - make it callable after fl_open_display() - document that it's currently only usable to switch scaling off
2020-01-31Add Fl::keyboard_screen_scaling(int) to control recognition of ctrl/+/-/0/ManoloFLTK
2019-08-21Fix a case when fl_read_window() did not capture subwindows correctly.ManoloFLTK
The case was under macOS with a non-GL parent window mapped to a retina display containing a GL subwindow and if the app did not call Fl::use_high_res_GL(1).
2019-06-18Slightly simpler Fl_WinAPI_Screen_Driver::init()ManoloFLTK
2019-06-06Add one argument to Fl_Screen_Driver::read_win_rectangle()ManoloFLTK
The new argument gives the window to be captured, or NULL to indicate capture from the current offscreen. Calling this function becomes easier because less dependent on global variables.
2019-04-11Add check against hidden window.ManoloFLTK
2019-03-27Send FL_FOCUS is necessary under X11ManoloFLTK
2019-03-27Use Fl_Widget_Tracker to check for existence of the putative focus widgetManoloFLTK
2019-03-27Follow CMP and rename a type with capitalized words without underscoreManoloFLTK