aboutsummaryrefslogtreecommitdiff
path: root/include/sway/desktop.h
diff options
context:
space:
mode:
authorRyan Dwyer <ryandwyer1@gmail.com>2018-08-18 15:10:06 +1000
committerRyan Dwyer <ryandwyer1@gmail.com>2018-08-18 15:10:06 +1000
commitb0a5f3a25f52bc1d48d771cb02820042006d8d9e (patch)
treee7a2e4c60e562589e3b9a54c6ce559a41dcf7534 /include/sway/desktop.h
parent4e755c4b123e1dd8478be63ff6b48d2d1ceaa04b (diff)
Store geometry in the view and handle any floating view resizing
Diffstat (limited to 'include/sway/desktop.h')
-rw-r--r--include/sway/desktop.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sway/desktop.h b/include/sway/desktop.h
index 348fb187..c969a76b 100644
--- a/include/sway/desktop.h
+++ b/include/sway/desktop.h
@@ -1,8 +1,13 @@
#include <wlr/types/wlr_surface.h>
struct sway_container;
+struct sway_view;
void desktop_damage_surface(struct wlr_surface *surface, double lx, double ly,
bool whole);
void desktop_damage_whole_container(struct sway_container *con);
+
+void desktop_damage_box(struct wlr_box *box);
+
+void desktop_damage_view(struct sway_view *view);