set_display_switch_callback (3) Linux Manual Page
set_display_switch_callback – Installs a switching notification callback. Allegro game programming library. Synopsis #include <allegro.h> int set_display_switch_callback(int dir, void (*cb)()); Description Installs a notification callback for the switching mode that was previously selected by calling set_display_switch_mode(). The direction parameter can either be SWITCH_IN or SWITCH_OUT, depending whether you want to be notified about switches away from…
