summaryrefslogtreecommitdiff
path: root/src/drivers/Wayland/Fl_Wayland_Window_Driver.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/Wayland/Fl_Wayland_Window_Driver.H')
-rw-r--r--src/drivers/Wayland/Fl_Wayland_Window_Driver.H3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Window_Driver.H b/src/drivers/Wayland/Fl_Wayland_Window_Driver.H
index 2a76b86ce..a419fa54b 100644
--- a/src/drivers/Wayland/Fl_Wayland_Window_Driver.H
+++ b/src/drivers/Wayland/Fl_Wayland_Window_Driver.H
@@ -41,12 +41,14 @@
*/
typedef struct _cairo_pattern cairo_pattern_t;
+class Fl_Wayland_Plugin;
class Fl_Wayland_Window_Driver : public Fl_Window_Driver
{
friend class Fl_X;
friend class Fl_Wayland_Gl_Window_Driver;
+ friend class Fl_Wayland_Screen_Driver;
private:
struct shape_data_type {
int lw_; ///< width of shape image
@@ -55,6 +57,7 @@ private:
cairo_pattern_t *mask_pattern_;
} *shape_data_;
static bool in_flush; // useful for progressive window drawing
+ static Fl_Wayland_Plugin *gl_plugin();
struct wl_cursor *cursor_;
void delete_cursor_();
struct gl_start_support *gl_start_support_; // for support of gl_start/gl_finish