Commit cc00f96
committed
wayland: only unset image description if we couldn't set a new one
set_image_description replaces the old image description, so we don't
need to call unset_image_description unconditionally. Only call it if we
couldn't set an image description.
This helps with the lack of synchronization between VO pageflips and
wayland protocol events mentioned in the previous commit.1 parent 5d40759 commit cc00f96
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2108 | 2108 | | |
2109 | 2109 | | |
2110 | 2110 | | |
| 2111 | + | |
2111 | 2112 | | |
2112 | 2113 | | |
2113 | 2114 | | |
| |||
3450 | 3451 | | |
3451 | 3452 | | |
3452 | 3453 | | |
3453 | | - | |
3454 | | - | |
3455 | 3454 | | |
3456 | 3455 | | |
3457 | 3456 | | |
3458 | 3457 | | |
3459 | 3458 | | |
3460 | 3459 | | |
3461 | 3460 | | |
3462 | | - | |
| 3461 | + | |
| 3462 | + | |
3463 | 3463 | | |
| 3464 | + | |
3464 | 3465 | | |
3465 | 3466 | | |
3466 | 3467 | | |
| |||
0 commit comments