diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-08-30 17:37:55 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-08-30 17:37:55 +0200 |
| commit | 07fd2628febb512192239cc252087deb62da4866 (patch) | |
| tree | 895f2bd612078f0babcf2b5a09228806b92e6fb9 /src/drivers/Wayland/Fl_Wayland_Screen_Driver.H | |
| parent | fcdc2f0e102497313232cc7c0a570cc4c524a02b (diff) | |
Hybrid Wayland/X11 platform: improve control of chosen backend.
Diffstat (limited to 'src/drivers/Wayland/Fl_Wayland_Screen_Driver.H')
| -rw-r--r-- | src/drivers/Wayland/Fl_Wayland_Screen_Driver.H | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H index 64aae8593..d5196b557 100644 --- a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H +++ b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H @@ -66,8 +66,6 @@ public: static FL_EXPORT struct wl_display *wl_display; // use it to make sure the Wayland leg was selected and fl_open_display() has run static struct wl_registry *wl_registry; - // true when an app is forbidden to use its Wayland leg - static bool wld_disabled; static void insertion_point_location(int x, int y, int height); static bool insertion_point_location(int *px, int *py, int *pwidth, int *pheight); int get_mouse_unscaled(int &xx, int &yy); @@ -176,6 +174,7 @@ public: static compositor_name compositor; // identifies the used Wayland compositor void set_spot(int font, int height, int x, int y, int w, int h, Fl_Window *win); void reset_spot(); + static bool undo_wayland_backend_if_needed(); }; |
