diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-04-03 15:25:19 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-04-03 15:25:19 +0200 |
| commit | 1d0e63ea784f0d8e3835f3517d47c11ecf79a79b (patch) | |
| tree | 1448542fe868f44bea7064e93d3849863ece6ce3 /src/drivers/Wayland/Fl_Wayland_Screen_Driver.H | |
| parent | cebf6b5368df24f6a1ef22eb901ecbcdae445eaf (diff) | |
Improve member function Fl_Wayland_Screen_Driver::surface_to_window()
Rename it to Fl_Wayland_Window_Driver::surface_to_window() and
avoid loop over all mapped FLTK windows that used to be performed.
Diffstat (limited to 'src/drivers/Wayland/Fl_Wayland_Screen_Driver.H')
| -rw-r--r-- | src/drivers/Wayland/Fl_Wayland_Screen_Driver.H | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H index 1b2ca3141..a01c9b013 100644 --- a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H +++ b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H @@ -85,7 +85,6 @@ public: // static member functions static void insertion_point_location(int x, int y, int height); static bool insertion_point_location(int *px, int *py, int *pwidth, int *pheight); - static Fl_Window *surface_to_window(struct wl_surface *); static bool own_output(struct wl_output *output); // member variables |
