diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-03-29 12:15:31 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2018-03-29 14:21:42 -0400 |
commit | 874f009866abaf8ca43ed4cd88a69d22a3fbfc5a (patch) | |
tree | 05dff1efd73807aded434527ed1774250314116e /sway/tree/view.c | |
parent | Merge pull request #1643 from acrisci/xdg-protocol-header (diff) | |
download | sway-874f009866abaf8ca43ed4cd88a69d22a3fbfc5a.tar.gz sway-874f009866abaf8ca43ed4cd88a69d22a3fbfc5a.tar.zst sway-874f009866abaf8ca43ed4cd88a69d22a3fbfc5a.zip |
move tree includes to their own directory
Diffstat (limited to 'sway/tree/view.c')
-rw-r--r-- | sway/tree/view.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c index 9499adca..20e657a2 100644 --- a/sway/tree/view.c +++ b/sway/tree/view.c | |||
@@ -1,8 +1,8 @@ | |||
1 | #include <wayland-server.h> | 1 | #include <wayland-server.h> |
2 | #include <wlr/types/wlr_output_layout.h> | 2 | #include <wlr/types/wlr_output_layout.h> |
3 | #include "sway/container.h" | 3 | #include "sway/tree/container.h" |
4 | #include "sway/layout.h" | 4 | #include "sway/tree/layout.h" |
5 | #include "sway/view.h" | 5 | #include "sway/tree/view.h" |
6 | 6 | ||
7 | const char *view_get_title(struct sway_view *view) { | 7 | const char *view_get_title(struct sway_view *view) { |
8 | if (view->iface.get_prop) { | 8 | if (view->iface.get_prop) { |
@@ -45,6 +45,7 @@ void view_set_size(struct sway_view *view, int width, int height) { | |||
45 | } | 45 | } |
46 | } | 46 | } |
47 | 47 | ||
48 | // TODO make view coordinates | ||
48 | void view_set_position(struct sway_view *view, double ox, double oy) { | 49 | void view_set_position(struct sway_view *view, double ox, double oy) { |
49 | if (view->iface.set_position) { | 50 | if (view->iface.set_position) { |
50 | struct wlr_box box = { | 51 | struct wlr_box box = { |