Commit 35ad32f3 authored by Christophe Geuzaine's avatar Christophe Geuzaine

temp hack for mojave (for kevin)

parent 8238c313
Pipeline #2736 passed with stage
in 79 minutes and 54 seconds
......@@ -525,6 +525,15 @@ FlGui::FlGui(int argc, char **argv)
graph[0]->getWindow()->show(argc > 0 ? 1 : 0, argv);
if(graph[0]->getMenuWindow()) graph[0]->getMenuWindow()->show();
#if 0
// FIXME temporary hack for macOS Mojave: resize GL window to get it to
// display
graph[0]->getWindow()->resize(graph[0]->getWindow()->x(),
graph[0]->getWindow()->y(),
graph[0]->getWindow()->w()+1,
graph[0]->getWindow()->h());
#endif
// re-apply color scheme (necessary for some reason to get the selection color
// right)
applyColorScheme();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment