summaryrefslogtreecommitdiff
path: root/src/Fl_own_colormap.cxx
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-11-07 06:49:40 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-11-07 06:49:40 +0100
commit37bf3835b0b3ce7f4c80924f40735698f057ef6f (patch)
tree5862a10eef97cf3575bfe55b2f29fc5a79ae3270 /src/Fl_own_colormap.cxx
parentb663e272e7f39063a5c1bf744038ded0a7566990 (diff)
Create class Fl_Unix_Screen_Driver used by X11 and Wayland platforms
Diffstat (limited to 'src/Fl_own_colormap.cxx')
-rw-r--r--src/Fl_own_colormap.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_own_colormap.cxx b/src/Fl_own_colormap.cxx
index b606c3c4a..924169ef6 100644
--- a/src/Fl_own_colormap.cxx
+++ b/src/Fl_own_colormap.cxx
@@ -23,7 +23,7 @@
// get huge color changes when switching windows.
#include <FL/Fl.H>
-#include "Fl_System_Driver.H"
+#include "Fl_Screen_Driver.H"
/** \fn Fl::own_colormap()
Makes FLTK use its <a href="fltk-colormap.png">own colormap</a>. This may make FLTK display better
@@ -33,5 +33,5 @@
<P>This does nothing if the current visual is not colormapped.
*/
void Fl::own_colormap() {
- Fl::system_driver()->own_colormap();
+ Fl::screen_driver()->own_colormap();
}