summaryrefslogtreecommitdiffstats
path: root/wscript_build.py
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-04-23 16:10:40 +0200
committerJan Ekström <jeebjp@gmail.com>2018-04-29 12:33:12 +0300
commit76211609e3c589dafe3ef9a36cacc06e8f56de09 (patch)
treed64df10c318d1003ebf71dcaa29cb58ca9bea414 /wscript_build.py
parentdc16d853797d514744998462e3aaa57a6ff7248d (diff)
downloadmpv-76211609e3c589dafe3ef9a36cacc06e8f56de09.tar.bz2
mpv-76211609e3c589dafe3ef9a36cacc06e8f56de09.tar.xz
wayland_common: update to stable xdg-shell
This removes support for older compositors using the unstable version, but those will still use Xwayland by default, so not a big loss.
Diffstat (limited to 'wscript_build.py')
-rw-r--r--wscript_build.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/wscript_build.py b/wscript_build.py
index 2329a3f8ef..c55758f213 100644
--- a/wscript_build.py
+++ b/wscript_build.py
@@ -118,11 +118,11 @@ def build(ctx):
if ctx.dependency_satisfied('wayland'):
ctx.wayland_protocol_code(proto_dir = ctx.env.WL_PROTO_DIR,
- protocol = "unstable/xdg-shell/xdg-shell-unstable-v6",
- target = "video/out/wayland/xdg-shell-v6.c")
+ protocol = "stable/xdg-shell/xdg-shell",
+ target = "video/out/wayland/xdg-shell.c")
ctx.wayland_protocol_header(proto_dir = ctx.env.WL_PROTO_DIR,
- protocol = "unstable/xdg-shell/xdg-shell-unstable-v6",
- target = "video/out/wayland/xdg-shell-v6.h")
+ protocol = "stable/xdg-shell/xdg-shell",
+ target = "video/out/wayland/xdg-shell.h")
ctx.wayland_protocol_code(proto_dir = ctx.env.WL_PROTO_DIR,
protocol = "unstable/idle-inhibit/idle-inhibit-unstable-v1",
target = "video/out/wayland/idle-inhibit-v1.c")
@@ -507,7 +507,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-shell-v6.c", "wayland" ),
+ ( "video/out/wayland/xdg-shell.c", "wayland" ),
( "video/out/wayland_common.c", "wayland" ),
( "video/out/win32/displayconfig.c", "win32-desktop" ),
( "video/out/win32/droptarget.c", "win32-desktop" ),