logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

al_x_set_initial_icon - Allegro 5 API

Description

       On  some  window managers (notably Ubuntu’s Unity) al_set_display_icon doesn’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.

Name

       al_x_set_initial_icon - Allegro 5 API

Since

       5.2.3

              [UnstableAPI]: New API.

Allegro reference manual                                                          al_x_set_initial_icon(3alleg5)

Synopsis

              #include <allegro5/allegro_x.h>

              bool al_x_set_initial_icon(ALLEGRO_BITMAP *bitmap)

See Also