mirror of
https://github.com/swaywm/sway.git
synced 2025-04-04 03:17:46 +03:00
xdg-shell: use wlr_xdg_toplevel in sway_view
Improved type safety. Closes: https://github.com/swaywm/sway/issues/6813
This commit is contained in:
parent
5c00f1f113
commit
f795aa1c95
3 changed files with 40 additions and 56 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue