From cdd19336610f310f41bd7ea7b20c6cd55292c5bf Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Tue, 22 Feb 2022 19:55:11 +0100 Subject: X11: Disable "boxcheat" hack For details see comment in src/Fl_x.cxx: this "Hack to speed up bg box drawing" is now disabled for several reasons. The code is still available if the macro ENABLE_BOXCHEAT is defined. --- src/Fl_arg.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Fl_arg.cxx') diff --git a/src/Fl_arg.cxx b/src/Fl_arg.cxx index 347faee63..531b3d853 100644 --- a/src/Fl_arg.cxx +++ b/src/Fl_arg.cxx @@ -1,7 +1,7 @@ // // Optional argument initialization code for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2018 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 @@ -277,6 +277,7 @@ void Fl_Window::show(int argc, char **argv) { pWindowDriver->show_with_args_begin(); + // note: background_pixel is no longer used since 1.4.0, but anyway ... // set colors first, so background_pixel is correct: static char beenhere; if (!beenhere) { -- cgit v1.2.3