diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2025-11-16 10:09:01 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2025-11-16 10:09:01 +0100 |
| commit | 4b141bb2f8b29832442aea8078e9e74971c98e74 (patch) | |
| tree | 56eddd20357970eea67335252aa733734ef3b41a /FL | |
| parent | 646bd5576497078f327f931ac5b5452d24866d2a (diff) | |
Document with more details function fl_wl_gc()
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/wayland.H | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/FL/wayland.H b/FL/wayland.H index 71981d974..6d1f0e771 100644 --- a/FL/wayland.H +++ b/FL/wayland.H @@ -34,7 +34,8 @@ extern FL_EXPORT struct wl_surface *fl_wl_surface(struct wld_window *xid); extern FL_EXPORT struct wld_window *fl_wl_xid(const Fl_Window *win); /** Returns the Fl_Window corresponding to a given the platform-specific window reference */ extern FL_EXPORT Fl_Window *fl_wl_find(struct wld_window *); -/** Returns the cairo context associated to the current window or Fl_Image_Surface */ +/** Returns the cairo context associated to the current window or Fl_Image_Surface. + Usable both when the Wayland/X11 hybrid FLTK library runs as a Wayland client and when it runs as an X11 client. */ extern FL_EXPORT cairo_t *fl_wl_gc(); /** Returns the wl_compositor of the current Wayland session. This allows, for example, to create a wl_surface with |
