aboutsummaryrefslogtreecommitdiff
path: root/include/sway/view.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-11-25 15:49:10 -0500
committerDrew DeVault <sir@cmpwn.com>2017-11-25 15:49:10 -0500
commita57d46292694e388d74add7b0869bcafdb42b2bd (patch)
tree74b91247e749c1b67f89bd2271f31762b659545b /include/sway/view.h
parentce1936bc65d01502e3a5f8681bb039cb95e82e0c (diff)
Fix rendering issues, wire up some xdg listeners
Diffstat (limited to 'include/sway/view.h')
-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;