diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2021-06-18 18:46:17 +0200 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2021-06-18 18:46:17 +0200 |
| commit | 713d1bfd7c4a538b7bd3625a5f521f5911a9f500 (patch) | |
| tree | 154054ca49f2801a85186f08ec4b6704b190a3da /src/drivers/X11/Fl_X11_Screen_Driver.cxx | |
| parent | f94ed7116c2943c105faebb14798e2ac33bb37cd (diff) | |
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.
Diffstat (limited to 'src/drivers/X11/Fl_X11_Screen_Driver.cxx')
| -rw-r--r-- | src/drivers/X11/Fl_X11_Screen_Driver.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
