.\" Automatically generated by Pandoc 2.9.2.1 .\" .TH "al_x_set_initial_icon" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_x_set_initial_icon - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include bool al_x_set_initial_icon(ALLEGRO_BITMAP *bitmap) \f[R] .fi .SH DESCRIPTION .PP On some window managers (notably Ubuntu\[cq]s Unity) al_set_display_icon doesn\[cq]t work and you need to use a .desktop file. But with this function you can set an icon before calling al_create_display. This works by setting the icon before XMapWindow. .SH SINCE .PP 5.2.3 .RS .PP \f[I][Unstable API]:\f[R] New API. .RE