forked from virt-mirrors/wayneko
fix: avoid crash on output reconfig
no idea what I am doing, also can't test with multiple monitors atm lol
This commit is contained in:
parent
5f1da28f96
commit
d5f070052d
1 changed files with 1 additions and 1 deletions
|
@ -1243,7 +1243,7 @@ static void surface_create (void)
|
||||||
|
|
||||||
static void attempt_surface_creation (void) {
|
static void attempt_surface_creation (void) {
|
||||||
// waits until we have seen all outputs
|
// waits until we have seen all outputs
|
||||||
if (required_hits <= ++found_hits) surface_create();
|
if (required_hits <= ++found_hits && !surface.configured) surface_create();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**********
|
/**********
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue