diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2025-03-11 17:35:29 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2025-03-11 23:47:39 +0100 |
| commit | 9b5d40ad973395ceed431abd2e6165ec5ffd70bd (patch) | |
| tree | e1dbfe210fc6ab9176ae7954660fb13d80aa75ed /src/screen_xywh.cxx | |
| parent | 1054e81504dc2fe45086e534c2986921f1bf861d (diff) | |
Fix "Wayland: Huge menu hiding unexpectedly when moving a mouse (#1115)
This commit also computes work-area size for single-display settings.
Diffstat (limited to 'src/screen_xywh.cxx')
| -rw-r--r-- | src/screen_xywh.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/screen_xywh.cxx b/src/screen_xywh.cxx index 2fedf86fa..ab72c1c2a 100644 --- a/src/screen_xywh.cxx +++ b/src/screen_xywh.cxx @@ -95,9 +95,8 @@ void Fl::screen_work_area(int &X, int &Y, int &W, int &H, int mx, int my) \param[out] X,Y,W,H the work area bounding box \param[in] n the screen number (0 to Fl::screen_count() - 1) \see void screen_xywh(int &x, int &y, int &w, int &h, int mx, int my) - \note Under X11, the screen work area is given values that differ from that screen's bounding box - only if the system contains a single screen. Under Wayland, a screen work area is always - equal to that screen's bounding box. + \note Under X11 and Wayland, the screen work area is given values that differ + from that screen's bounding box only if the system contains a single screen. \note Like all quantities accessible via public APIs of FLTK, values of \p X,Y,W,H are given in FLTK units, that is, in drawing units divided by the scaling factor of screen \p n. */ |
