summaryrefslogtreecommitdiff
path: root/src/Fl_x.cxx
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2022-02-03 21:56:42 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2022-02-03 21:57:47 +0100
commite73f9d466da578f31af7b24d5f016eaa927a5c91 (patch)
tree631c800c9d68f32c46529de4f632eef8e9097b87 /src/Fl_x.cxx
parentc483c4c5de8ffa732eac2a8710008a1c67a23955 (diff)
Rearrange "Print Button Window" functions
- Rename Fl_Screen_Driver::print_or_copy_window() to fl_print_or_copy_window() - Add header file src/print_button.h - Update dependencies
Diffstat (limited to 'src/Fl_x.cxx')
-rw-r--r--src/Fl_x.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx
index abbc27a5d..5fefa51c2 100644
--- a/src/Fl_x.cxx
+++ b/src/Fl_x.cxx
@@ -1,7 +1,7 @@
//
// X specific code for the Fast Light Tool Kit (FLTK).
//
-// Copyright 1998-2021 by Bill Spitzak and others.
+// Copyright 1998-2022 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
@@ -42,6 +42,7 @@
# include "drivers/X11/Fl_X11_Window_Driver.H"
# include "drivers/X11/Fl_X11_System_Driver.H"
# include "drivers/Xlib/Fl_Xlib_Graphics_Driver.H"
+# include "print_button.h"
# include <unistd.h>
# include <time.h>
# include <sys/time.h>
@@ -51,6 +52,7 @@
# include <X11/Xlib.h>
# include <X11/keysym.h>
# include "Xutf8.h"
+
#define USE_XRANDR (HAVE_DLSYM && HAVE_DLFCN_H) // means attempt to dynamically load libXrandr.so
#if USE_XRANDR
#include <dlfcn.h>