Remember if direct scanout fails

If a view fails direct scanout, we remember if it fails so we don't
bother trying again. This removes a lot of log spam of the atomic DRM
test failing in this case.
This commit is contained in:
Scott Anderson 2020-02-13 12:38:38 +13:00
parent 47763c99f9
commit 03206ea177
2 changed files with 13 additions and 1 deletions

View file

@ -75,6 +75,7 @@ struct sway_view {
char *title_format;
bool using_csd;
bool failed_scan_out;
struct timespec urgent;
bool allow_request_urgent;