aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/sway/view.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sway/view.h b/include/sway/view.h
index 9d503674..fca444b7 100644
--- a/include/sway/view.h
+++ b/include/sway/view.h
@@ -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;