mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
rootston: do not attempt to render disabled outputs
This commit is contained in:
parent
53ba9b4eec
commit
77fc0505e6
1 changed files with 4 additions and 0 deletions
|
|
@ -211,6 +211,10 @@ static void output_frame_notify(struct wl_listener *listener, void *data) {
|
|||
struct roots_desktop *desktop = output->desktop;
|
||||
struct roots_server *server = desktop->server;
|
||||
|
||||
if (!wlr_output->enabled) {
|
||||
return;
|
||||
}
|
||||
|
||||
struct timespec now;
|
||||
clock_gettime(CLOCK_MONOTONIC, &now);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue