summaryrefslogtreecommitdiff
path: root/src/drivers/Wayland
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-02-14 11:52:21 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-02-14 11:52:21 +0100
commit868ab9696fb51628afac1ea10f7df6a27907a089 (patch)
tree921ca16bea3f59a4e64c67c268936e0dbc112ad3 /src/drivers/Wayland
parentb055b82eb26738cd2170309ce476d9f1451204c0 (diff)
Rename class Fl_Display_Cairo_Graphics_Driver to Fl_X11_Cairo_Graphics_Driver
Diffstat (limited to 'src/drivers/Wayland')
-rw-r--r--src/drivers/Wayland/fl_wayland_platform_init.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/drivers/Wayland/fl_wayland_platform_init.cxx b/src/drivers/Wayland/fl_wayland_platform_init.cxx
index 5154e6232..9b6be2878 100644
--- a/src/drivers/Wayland/fl_wayland_platform_init.cxx
+++ b/src/drivers/Wayland/fl_wayland_platform_init.cxx
@@ -1,7 +1,7 @@
//
// Wayland-specific code to initialize wayland support.
//
-// Copyright 2022 by Bill Spitzak and others.
+// Copyright 2022-2023 by Bill Spitzak and others.
//
// This library is free software. Distribution and use rights are outlined in
// the file "COPYING" which should have been included with this file. If this
@@ -24,7 +24,7 @@
#ifdef FLTK_USE_X11
# include "../Xlib/Fl_Xlib_Copy_Surface_Driver.H"
# include <cairo-xlib.h>
-# include "../Cairo/Fl_Display_Cairo_Graphics_Driver.H"
+# include "../Cairo/Fl_X11_Cairo_Graphics_Driver.H"
# include "../X11/Fl_X11_Screen_Driver.H"
# include "../X11/Fl_X11_Window_Driver.H"
# include "../Xlib/Fl_Xlib_Image_Surface_Driver.H"
@@ -119,7 +119,7 @@ Fl_System_Driver *Fl_System_Driver::newSystemDriver() {
Fl_Graphics_Driver *Fl_Graphics_Driver::newMainGraphicsDriver() {
#ifdef FLTK_USE_X11
- if (!attempt_wayland()) return new Fl_Display_Cairo_Graphics_Driver();
+ if (!attempt_wayland()) return new Fl_X11_Cairo_Graphics_Driver();
#endif
return new Fl_Wayland_Graphics_Driver();
}