1al_x_set_initial_icon(3)                              al_x_set_initial_icon(3)
2
3
4

NAME

6       al_x_set_initial_icon - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro_x.h>
10
11              bool al_x_set_initial_icon(ALLEGRO_BITMAP *bitmap)
12

DESCRIPTION

14       On  some  window  managers (notably Ubuntu’s Unity) al_set_display_icon
15       doesn’t work and you need to use a .desktop file.  But with this  func‐
16       tion  you can set an icon before calling al_create_display.  This works
17       by setting the icon before XMapWindow.
18

SINCE

20       5.2.3
21
22              [Unstable API]: New API.
23
24
25
26Allegro reference manual                              al_x_set_initial_icon(3)
Impressum