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

View file

@ -580,10 +580,12 @@ static int output_repaint_timer_handler(void *data) {
scan_out_fullscreen_view(output, fullscreen_con->view); scan_out_fullscreen_view(output, fullscreen_con->view);
if (scanned_out && !last_scanned_out) { 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) { 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; last_scanned_out = scanned_out;