Fix rendering issues, wire up some xdg listeners

This commit is contained in:
Drew DeVault 2017-11-25 15:49:10 -05:00
parent ce1936bc65
commit a57d462926
4 changed files with 29 additions and 7 deletions

View file

@ -14,6 +14,8 @@ struct sway_xdg_surface_v6 {
struct wl_listener request_move;
struct wl_listener request_resize;
struct wl_listener request_maximize;
int pending_width, pending_height;
};
enum sway_view_type {
@ -40,6 +42,7 @@ struct sway_view {
enum sway_view_type type;
struct sway_container *swayc;
struct wlr_surface *surface;
int width, height;
union {
struct wlr_xdg_surface_v6 *wlr_xdg_surface_v6;