From 713d1bfd7c4a538b7bd3625a5f521f5911a9f500 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Fri, 18 Jun 2021 18:46:17 +0200 Subject: Revert parts of and fix other 'constness' changes (#239, #181) Some of the previous constness changes turned out to be incomplete, others had to be reverted because some other driver methods could not be made 'const' - particularly those calling open_display() to get the requested information. --- src/drivers/X11/Fl_X11_Screen_Driver.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/drivers/X11/Fl_X11_Screen_Driver.cxx') diff --git a/src/drivers/X11/Fl_X11_Screen_Driver.cxx b/src/drivers/X11/Fl_X11_Screen_Driver.cxx index 22aa7e659..1dbd52154 100644 --- a/src/drivers/X11/Fl_X11_Screen_Driver.cxx +++ b/src/drivers/X11/Fl_X11_Screen_Driver.cxx @@ -701,7 +701,7 @@ void Fl_X11_Screen_Driver::compose_reset() if (fl_xim_ic) XmbResetIC(fl_xim_ic); } -int Fl_X11_Screen_Driver::text_display_can_leak() { +int Fl_X11_Screen_Driver::text_display_can_leak() const { #if USE_XFT return 1; #else -- cgit v1.2.3