Fix crash when adding output

This commit is contained in:
Ryan Dwyer 2018-08-20 10:37:52 +10:00
parent a49e4b13bf
commit e1955c5c08
3 changed files with 11 additions and 4 deletions

View file

@ -351,6 +351,12 @@ bool container_is_floating_or_child(struct sway_container *container);
*/
bool container_is_fullscreen_or_child(struct sway_container *container);
/**
* Return the output which will be used for scale purposes.
* This is the most recently entered output.
*/
struct sway_output *container_get_effective_output(struct sway_container *con);
void container_discover_outputs(struct sway_container *con);
#endif