mirror of
https://github.com/swaywm/sway.git
synced 2025-11-11 13:29:51 -05:00
basic wl-shell
This commit is contained in:
parent
59db38ce17
commit
8239067da4
5 changed files with 107 additions and 0 deletions
|
|
@ -19,6 +19,18 @@ struct sway_xdg_surface_v6 {
|
|||
int pending_width, pending_height;
|
||||
};
|
||||
|
||||
struct sway_wl_shell_surface {
|
||||
struct sway_view *view;
|
||||
|
||||
struct wl_listener commit;
|
||||
struct wl_listener request_move;
|
||||
struct wl_listener request_resize;
|
||||
struct wl_listener request_maximize;
|
||||
struct wl_listener destroy;
|
||||
|
||||
int pending_width, pending_height;
|
||||
};
|
||||
|
||||
enum sway_view_type {
|
||||
SWAY_WL_SHELL_VIEW,
|
||||
SWAY_XDG_SHELL_V6_VIEW,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue