summaryrefslogtreecommitdiff
path: root/src/drivers/Wayland/Fl_Wayland_Window_Driver.H
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-05-22 09:05:07 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-05-22 09:05:07 +0200
commit7020356df90630b93cf6be49681cc1547057f2ae (patch)
tree8dddacdd2892fef31dafa9160a907cad247b4f58 /src/drivers/Wayland/Fl_Wayland_Window_Driver.H
parent60440632eeabaf8e9611d6a83b8b2ca958c2ea5b (diff)
Slightly re-organize class Fl_Wayland_Window_Driver
Diffstat (limited to 'src/drivers/Wayland/Fl_Wayland_Window_Driver.H')
-rw-r--r--src/drivers/Wayland/Fl_Wayland_Window_Driver.H5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Window_Driver.H b/src/drivers/Wayland/Fl_Wayland_Window_Driver.H
index 37e430c8f..ebcdfea5f 100644
--- a/src/drivers/Wayland/Fl_Wayland_Window_Driver.H
+++ b/src/drivers/Wayland/Fl_Wayland_Window_Driver.H
@@ -48,7 +48,6 @@ class Fl_Wayland_Plugin;
class Fl_Wayland_Window_Driver : public Fl_Window_Driver
{
friend class Fl_Wayland_Gl_Window_Driver;
- friend class Fl_Wayland_Screen_Driver;
private:
struct shape_data_type {
int lw_; ///< width of shape image
@@ -57,8 +56,7 @@ private:
cairo_pattern_t *mask_pattern_;
} *shape_data_;
cairo_rectangle_int_t *subRect_; // makes sure subwindow remains inside its parent window
- static bool in_flush; // useful for progressive window drawing
- static Fl_Wayland_Plugin *gl_plugin();
+ static bool in_flush_; // useful for progressive window drawing
Fl_Cursor standard_cursor_; // window's standard custom kind
void delete_cursor_(struct wld_window *, bool delete_rgb = true);
struct gl_start_support *gl_start_support_; // for support of gl_start/gl_finish
@@ -87,6 +85,7 @@ public:
static inline Fl_Wayland_Window_Driver* driver(const Fl_Window *w) {return (Fl_Wayland_Window_Driver*)Fl_Window_Driver::driver(w);}
static void resize_after_screen_change(void *data);
+ static Fl_Wayland_Plugin *gl_plugin();
// --- window data
int decorated_w() FL_OVERRIDE;