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 | 5c00f1f1133fdf830c2e918b14aac0eabf48f4f6 (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.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 { 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 |