mirror of
https://github.com/swaywm/sway.git
synced 2025-11-07 13:29:56 -05:00
Fix crash when adding output
This commit is contained in:
parent
a49e4b13bf
commit
e1955c5c08
3 changed files with 11 additions and 4 deletions
|
|
@ -764,8 +764,7 @@ void container_damage_whole(struct sway_container *container) {
|
|||
* Return the output which will be used for scale purposes.
|
||||
* This is the most recently entered output.
|
||||
*/
|
||||
static struct sway_output *container_get_effective_output(
|
||||
struct sway_container *con) {
|
||||
struct sway_output *container_get_effective_output(struct sway_container *con) {
|
||||
if (con->outputs->length == 0) {
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue