summaryrefslogtreecommitdiff
path: root/protocol
diff options
context:
space:
mode:
authorant8me <ant8me@gmail.com>2018-11-28 22:46:37 +0100
committerDaniel Stone <daniels@collabora.com>2019-02-15 11:18:38 +0000
commitd8d9f5e6e16c8f6a3c06763d5f56c27dc9a6e52e (patch)
tree381df3ede019cff21050157c711cb53d51d2cd44 /protocol
parent2d4cc4f4dd6a039eebbb6dfca9ae4522d83dc90b (diff)
libweston-desktop: implement the new xdg_shell (stable) protocol
Some clients like the mpv video player now request the xdg_shell protocol so these will fail if the compositor only provides the xdg_shell_unstable_v6 protocol. Compositors like mir and gnome provide both protocols. The two protocols are very similar therefore the code in xdg-shell-v6.c has been refactored to work with the new xdg_shell protocol and now resides in xdg-shell.c. Pekka: - split the patch - fix continued line alignment Daniel - allow anchor_rect to initially have zero dimensions - account for get_popup allowing NULL parent surface Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com> Signed-off-by: Daniel Stone <daniels@collabora.com>
Diffstat (limited to 'protocol')
-rw-r--r--protocol/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/protocol/meson.build b/protocol/meson.build
index b3ea5b21..34026ff9 100644
--- a/protocol/meson.build
+++ b/protocol/meson.build
@@ -36,6 +36,7 @@ generated_protocols = [
[ 'weston-touch-calibration', 'internal' ],
[ 'xdg-output', 'v1' ],
[ 'xdg-shell', 'v6' ],
+ [ 'xdg-shell', 'stable' ],
]
foreach proto: generated_protocols