temporary fix for X Window and Windows bad canvas drawing with no single expose

This commit is contained in:
Paul Davis 2024-04-12 18:55:27 -06:00
parent 1eb2a345df
commit dde59c8e4c
1 changed files with 5 additions and 1 deletions

View File

@ -83,8 +83,12 @@ Editor::initialize_canvas ()
_track_canvas->set_background_color (UIConfiguration::instance().color ("arrange base"));
_track_canvas->use_nsglview (UIConfiguration::instance().get_nsgl_view_mode () == NSGLHiRes);
#ifdef __APPLE__
// as of april 12 2024 on X Window and Windows, setting this to false
// causes redraw errors, but not on macOS as far as we can tell
_track_canvas->set_single_exposure (false);
#endif
/* scroll group for items that should not automatically scroll
* (e.g verbose cursor). It shares the canvas coordinate space.
*/