aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Simon Ser <contact@emersion.fr>2022-02-07 20:51:19 +0100
committerLibravatar Kirill Primak <vyivel@eclair.cafe>2022-02-07 23:22:16 +0300
commitf795aa1c95b1283c0a32b03c80dced14389cd38a (patch)
tree24ff569d3aaacf9da1f9099d418b7de4fdfa6af9 /include
parentreadme: use relative links for translations (diff)
downloadsway-f795aa1c95b1283c0a32b03c80dced14389cd38a.tar.gz
sway-f795aa1c95b1283c0a32b03c80dced14389cd38a.tar.zst
sway-f795aa1c95b1283c0a32b03c80dced14389cd38a.zip
xdg-shell: use wlr_xdg_toplevel in sway_view
Improved type safety. Closes: https://github.com/swaywm/sway/issues/6813
Diffstat (limited to 'include')
-rw-r--r--include/sway/tree/view.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h
index 9e34b0d1..5f8d2f58 100644
--- a/include/sway/tree/view.h
+++ b/include/sway/tree/view.h
@@ -108,7 +108,7 @@ struct sway_view {
108 list_t *executed_criteria; // struct criteria * 108 list_t *executed_criteria; // struct criteria *
109 109
110 union { 110 union {
111 struct wlr_xdg_surface *wlr_xdg_surface; 111 struct wlr_xdg_toplevel *wlr_xdg_toplevel;
112#if HAVE_XWAYLAND 112#if HAVE_XWAYLAND
113 struct wlr_xwayland_surface *wlr_xwayland_surface; 113 struct wlr_xwayland_surface *wlr_xwayland_surface;
114#endif 114#endif