aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-11-05 10:22:42 +0100
committeremersion <contact@emersion.fr>2017-11-05 10:22:42 +0100
commit3e3209cba22c9a5a562acc5e543946408a36e2f4 (patch)
treed8606b1de57c64d244dee0d9de092178aef7b6a8 /include
parent80caaf8fcc184fbf5839c67cb32e66e8dcd0ab7b (diff)
Fix laggy move-resize in xdg-shell
Diffstat (limited to 'include')
-rw-r--r--include/rootston/view.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/rootston/view.h b/include/rootston/view.h
index 0913b42e..adfbe6e0 100644
--- a/include/rootston/view.h
+++ b/include/rootston/view.h
@@ -26,6 +26,12 @@ struct roots_xdg_surface_v6 {
struct wl_listener destroy;
struct wl_listener request_move;
struct wl_listener request_resize;
+
+ struct {
+ bool needs_move;
+ double x, y;
+ uint32_t width, height;
+ } move_resize;
};
struct roots_xwayland_surface {