output_disconnected


Description:

public virtual signal void output_disconnected (void* output)

This signal is emitted when a display device is disconnected from a port, or a port output is hot-unplugged.

The latter can happen if a laptop is undocked, and the dock provided the output.

The output value is not a Object. The returned output value can only assume to be valid during the emission of the signal (i.e. within your signal handler only), as it may change later when the screen is modified due to an event from the X server, or due to another place in the application modifying the screen and the output. Therefore, deal with changes to the output right in your signal handler, instead of keeping the output reference for an async or idle function.

Parameters:

output

the RROutput that was disconnected