diff options
author | emersion <contact@emersion.fr> | 2018-11-07 13:53:46 +0100 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2018-11-19 00:15:31 +0200 |
commit | 6d2be82094038903a30736b9900229f4a3993426 (patch) | |
tree | dc2ce5f80a08cf031697788ca2962161a8f5283e /wscript_build.py | |
parent | ce2253b358c5023c18a0e12bfed8b44b3a05325b (diff) | |
download | mpv-6d2be82094038903a30736b9900229f4a3993426.tar.bz2 mpv-6d2be82094038903a30736b9900229f4a3993426.tar.xz |
wayland: use xdg-decoration if available
Diffstat (limited to 'wscript_build.py')
-rw-r--r-- | wscript_build.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/wscript_build.py b/wscript_build.py index 81da9d9aa6..e135a01e6d 100644 --- a/wscript_build.py +++ b/wscript_build.py @@ -129,6 +129,12 @@ def build(ctx): ctx.wayland_protocol_header(proto_dir = ctx.env.WL_PROTO_DIR, protocol = "unstable/idle-inhibit/idle-inhibit-unstable-v1", target = "video/out/wayland/idle-inhibit-v1.h") + ctx.wayland_protocol_code(proto_dir = ctx.env.WL_PROTO_DIR, + protocol = "unstable/xdg-decoration/xdg-decoration-unstable-v1", + target = "video/out/wayland/xdg-decoration-v1.c") + ctx.wayland_protocol_header(proto_dir = ctx.env.WL_PROTO_DIR, + protocol = "unstable/xdg-decoration/xdg-decoration-unstable-v1", + target = "video/out/wayland/xdg-decoration-v1.h") ctx.wayland_protocol_code(proto_dir = "video/out/wayland", protocol = "server-decoration", vendored_protocol = True, @@ -508,6 +514,7 @@ def build(ctx): ( "video/out/w32_common.c", "win32-desktop" ), ( "video/out/wayland/idle-inhibit-v1.c", "wayland" ), ( "video/out/wayland/srv-decor.c", "wayland" ), + ( "video/out/wayland/xdg-decoration-v1.c", "wayland" ), ( "video/out/wayland/xdg-shell.c", "wayland" ), ( "video/out/wayland_common.c", "wayland" ), ( "video/out/win32/displayconfig.c", "win32-desktop" ), |