summaryrefslogtreecommitdiff
path: root/include/sway/desktop.h
diff options
context:
space:
mode:
authorRyan Dwyer <[email protected]>2018-07-07 18:36:20 +1000
committerRyan Dwyer <[email protected]>2018-07-09 23:38:29 +1000
commitab8a86369c01c7146991ff4ae2ef04b0a1db06ca (patch)
tree9ec17bf453a32d7fdd7f621896c9b89c00af8755 /include/sway/desktop.h
parent6595d07ec7fe4422590fc8f40e35af82518a1c43 (diff)
Implement some floating move commands
This implements the following for floating containers: * move <direction> <amount> * move [absolute] position <x> <y> * move [absolute] position mouse
Diffstat (limited to 'include/sway/desktop.h')
-rw-r--r--include/sway/desktop.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sway/desktop.h b/include/sway/desktop.h
index f1ad759a..348fb187 100644
--- a/include/sway/desktop.h
+++ b/include/sway/desktop.h
@@ -1,4 +1,8 @@
#include <wlr/types/wlr_surface.h>
+struct sway_container;
+
void desktop_damage_surface(struct wlr_surface *surface, double lx, double ly,
bool whole);
+
+void desktop_damage_whole_container(struct sway_container *con);