mirror of
https://github.com/swaywm/sway.git
synced 2025-11-09 13:29:49 -05:00
Add views to tree and render them
This commit is contained in:
parent
aeda2e077f
commit
4ca1e77fdb
7 changed files with 136 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#ifndef _SWAY_VIEW_H
|
||||
#define _SWAY_VIEW_H
|
||||
#include <wayland-server.h>
|
||||
#include <wlr/types/wlr_surface.h>
|
||||
#include <wlr/types/wlr_xdg_shell_v6.h>
|
||||
|
||||
struct sway_container;
|
||||
|
|
@ -38,6 +39,7 @@ struct sway_view {
|
|||
struct wl_listener destroy;
|
||||
enum sway_view_type type;
|
||||
struct sway_container *swayc;
|
||||
struct wlr_surface *surface;
|
||||
|
||||
union {
|
||||
struct wlr_xdg_surface_v6 *wlr_xdg_surface_v6;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue