diff options
author | Dudemanguy <random342@airmail.cc> | 2023-01-08 14:02:13 -0600 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-01-08 20:42:42 +0000 |
commit | 8439c084e10fdcb60eb7c3f8f393a33d256f2e41 (patch) | |
tree | 6ae887fd1fd4bc245283fb2ff42348237079644b /video/out/wayland_common.c | |
parent | d73fc7912a46d4cb9c3e07f01f5ae2d64e7d9ff5 (diff) | |
download | mpv-8439c084e10fdcb60eb7c3f8f393a33d256f2e41.tar.bz2 mpv-8439c084e10fdcb60eb7c3f8f393a33d256f2e41.tar.xz |
wayland: make vo_wayland_reconfig a bool
This was already returning true/false but the type was int. Also
simplify a few places in the wayland contexts where we can just return
the value of this function instead of doing redundant checks.
Diffstat (limited to 'video/out/wayland_common.c')
-rw-r--r-- | video/out/wayland_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c index dadc93a5ef..dd233119a1 100644 --- a/video/out/wayland_common.c +++ b/video/out/wayland_common.c @@ -2069,7 +2069,7 @@ err: return false; } -int vo_wayland_reconfig(struct vo *vo) +bool vo_wayland_reconfig(struct vo *vo) { struct vo_wayland_state *wl = vo->wl; |