rootston: do not attempt to render disabled outputs

master
emersion 7 years ago
parent 53ba9b4eec
commit 77fc0505e6
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48

@ -211,6 +211,10 @@ static void output_frame_notify(struct wl_listener *listener, void *data) {
struct roots_desktop *desktop = output->desktop; struct roots_desktop *desktop = output->desktop;
struct roots_server *server = desktop->server; struct roots_server *server = desktop->server;
if (!wlr_output->enabled) {
return;
}
struct timespec now; struct timespec now;
clock_gettime(CLOCK_MONOTONIC, &now); clock_gettime(CLOCK_MONOTONIC, &now);

Loading…
Cancel
Save