aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-02-07 20:51:19 +0100
committerKirill Primak <vyivel@eclair.cafe>2022-02-07 23:22:16 +0300
commitf795aa1c95b1283c0a32b03c80dced14389cd38a (patch)
tree24ff569d3aaacf9da1f9099d418b7de4fdfa6af9 /include
parent5c00f1f1133fdf830c2e918b14aac0eabf48f4f6 (diff)
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 {
list_t *executed_criteria; // struct criteria *
union {
- struct wlr_xdg_surface *wlr_xdg_surface;
+ struct wlr_xdg_toplevel *wlr_xdg_toplevel;
#if HAVE_XWAYLAND
struct wlr_xwayland_surface *wlr_xwayland_surface;
#endif