summaryrefslogtreecommitdiff
path: root/subprojects
diff options
context:
space:
mode:
authorJonas Ådahl <jadahl@gmail.com>2020-02-16 20:09:42 +0100
committerJonas Ådahl <jadahl@gmail.com>2020-04-08 23:32:47 +0200
commit5425edff8282ac965888468aff31470d13ce8cd8 (patch)
treebbfd433519f161bdeab5e60f841865cc770a5e63 /subprojects
parent213c471bb7a0180b6a84854bc6bb680aac8a667d (diff)
downloadgtk+-5425edff8282ac965888468aff31470d13ce8cd8.tar.gz
wayland: Move popups with xdg_popup.reposition
The third version of xdg-shell introduces support for explicit popup repositioning. If available, make use of this to implement popup repositioning. Note that this does *NOT* include atomic parent-child state synchronization. For that, https://gitlab.freedesktop.org/wayland/wayland-protocols/issues/13 will be needed. This currently uses my own fork of wayland-protocols which adds meson support, so that we can use it as a subproject. Eventually when wayland-protocols' meson support lands upstream, we should change it to point there. Silence some meson warnings while at it to make CI happy. This also bumps the glib requirement, since g_warning_once() is used.
Diffstat (limited to 'subprojects')
-rw-r--r--subprojects/wayland-protocols.wrap4
1 files changed, 4 insertions, 0 deletions
diff --git a/subprojects/wayland-protocols.wrap b/subprojects/wayland-protocols.wrap
new file mode 100644
index 0000000000..bb9619cbc9
--- /dev/null
+++ b/subprojects/wayland-protocols.wrap
@@ -0,0 +1,4 @@
+[wrap-git]
+directory=wayland-protocols
+url=https://gitlab.freedesktop.org/jadahl/wayland-protocols.git
+revision=wip/meson-meson-0.53