diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-03-04 08:34:10 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-03-04 08:34:10 +0100 |
| commit | 5ae92f034ac8688bda0d905964eb281f764bf351 (patch) | |
| tree | cb33db11d6b194b510525bd956b2c4ced9d5ef7d /src/drivers/Wayland/Fl_Wayland_Screen_Driver.H | |
| parent | b438d448fbe721ab8d8d24d34373c6ee8c1728e1 (diff) | |
Simpler use of member variable wl_registry in class Fl_Wayland_Screen_Driver
Diffstat (limited to 'src/drivers/Wayland/Fl_Wayland_Screen_Driver.H')
| -rw-r--r-- | src/drivers/Wayland/Fl_Wayland_Screen_Driver.H | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H index c01b0c19c..a7d551d24 100644 --- a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H +++ b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H @@ -80,8 +80,6 @@ public: // static member variables 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; static const struct wl_data_device_listener *p_data_device_listener; // next length of marked text after current marked text will have been replaced static int next_marked_length; @@ -113,11 +111,12 @@ public: struct wl_cursor *xc_se; struct wl_cursor *xc_ne; struct wl_cursor *xc_nw; + struct wl_registry *wl_registry; struct wl_compositor *wl_compositor; struct wl_subcompositor *wl_subcompositor; struct wl_shm *wl_shm; struct seat *seat; - struct wl_list outputs; // linked list of all screens in system + struct wl_list outputs; // linked list of struct output records for all screens in system struct libdecor *libdecor_context; struct xdg_wm_base *xdg_wm_base; struct zwp_text_input_manager_v3 *text_input_base; |
