Log which output is using direct scan-out

This commit is contained in:
Simon Ser 2020-11-16 13:53:49 +01:00
parent 9d6787d10d
commit 83389da583
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48
1 changed files with 4 additions and 2 deletions

View File

@ -580,10 +580,12 @@ static int output_repaint_timer_handler(void *data) {
scan_out_fullscreen_view(output, fullscreen_con->view);
if (scanned_out && !last_scanned_out) {
sway_log(SWAY_DEBUG, "Scanning out fullscreen view");
sway_log(SWAY_DEBUG, "Scanning out fullscreen view on %s",
output->wlr_output->name);
}
if (last_scanned_out && !scanned_out) {
sway_log(SWAY_DEBUG, "Stopping fullscreen view scan out");
sway_log(SWAY_DEBUG, "Stopping fullscreen view scan out on %s",
output->wlr_output->name);
}
last_scanned_out = scanned_out;