>>>>> On Fri, 13 Mar 2020 16:09:25 +0100, Robert Pluim said: Eli> ... this is not how we introduce terminal-dependent methods. We don't Eli> define different versions of gui_SOMETHING functions in each Eli> terminal-specific back-end. Instead, we add a member to 'struct Eli> redisplay_interface', and then assign a different value to it in each Eli> back-end. See how x_redisplay_interface, w32_redisplay_interface, Eli> etc. are defined in the respective *term.[cm] files, and how they are Eli> used via the FRAME_RIF macro. Robert> OK, I can rework it using that. The following has been compiled and tested on macOS, GNU/Linux, and MSWindows. Itʼs against emacs-27, where Iʼd prefer to put it, since people might start building that with Cairo enabled, which would make this crash more likely, but I can put it in master if you wish. Robert