diff options
author | Simon Ser <contact@emersion.fr> | 2022-02-07 20:51:19 +0100 |
---|---|---|
committer | Kirill Primak <vyivel@eclair.cafe> | 2022-02-07 23:22:16 +0300 |
commit | f795aa1c95b1283c0a32b03c80dced14389cd38a (patch) | |
tree | 24ff569d3aaacf9da1f9099d418b7de4fdfa6af9 /include | |
parent | readme: use relative links for translations (diff) | |
download | sway-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.h | 2 |
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 |