.\" Automatically generated by Pandoc 3.6.1 .\" .TH "al_x_set_initial_icon" "3" "" "Allegro reference manual" .SH NAME al_x_set_initial_icon \- Allegro 5 API .SH SYNOPSIS .IP .EX #include \f[B]\f[R] bool al_x_set_initial_icon(ALLEGRO_BITMAP *bitmap) .EE .SH DESCRIPTION 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 5.2.3 .RS .PP \f[I][Unstable API]:\f[R] New API. .RE