IMHO it swould be enough to replace the private symbol bool _nc_has_mouse(SCREEN *) with the global symbol bool has_mouse(void) which in fact does do return _nc_has_mouse(CURRENT_SCREEN); ... if this does not work I'm able to move the _nc_has_mouse from the local section of the linker script to the global section ... but this would be an unofficial change of the new upstream behaviour ;)