aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/desktop.h
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-07-07 18:36:20 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-07-09 23:38:29 +1000
commitab8a86369c01c7146991ff4ae2ef04b0a1db06ca (patch)
tree9ec17bf453a32d7fdd7f621896c9b89c00af8755 /include/sway/desktop.h
parentMerge pull request #2226 from emersion/swaylock-daemonize-after-lock (diff)
downloadsway-ab8a86369c01c7146991ff4ae2ef04b0a1db06ca.tar.gz
sway-ab8a86369c01c7146991ff4ae2ef04b0a1db06ca.tar.zst
sway-ab8a86369c01c7146991ff4ae2ef04b0a1db06ca.zip
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 @@
1#include <wlr/types/wlr_surface.h> 1#include <wlr/types/wlr_surface.h>
2 2
3struct sway_container;
4
3void desktop_damage_surface(struct wlr_surface *surface, double lx, double ly, 5void desktop_damage_surface(struct wlr_surface *surface, double lx, double ly,
4 bool whole); 6 bool whole);
7
8void desktop_damage_whole_container(struct sway_container *con);