diff options
-rw-r--r-- | video/out/wayland_common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c index 19adf01df0..f1e4091b04 100644 --- a/video/out/wayland_common.c +++ b/video/out/wayland_common.c @@ -1198,6 +1198,7 @@ static int set_screensaver_inhibitor(struct vo_wayland_state *wl, int state) } else { MP_VERBOSE(wl, "Disabling the idle inhibitor\n"); zwp_idle_inhibitor_v1_destroy(wl->idle_inhibitor); + wl->idle_inhibitor = NULL; } return VO_TRUE; } |