diff options
Diffstat (limited to 'sway/tree/view.c')
-rw-r--r-- | sway/tree/view.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c index d5325c31..9499adca 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/tree/container.h" | 3 | #include "sway/container.h" |
4 | #include "sway/tree/layout.h" | 4 | #include "sway/layout.h" |
5 | #include "sway/tree/view.h" | 5 | #include "sway/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,7 +45,6 @@ void view_set_size(struct sway_view *view, int width, int height) { | |||
45 | } | 45 | } |
46 | } | 46 | } |
47 | 47 | ||
48 | // TODO make view coordinates in layout coordinates | ||
49 | void view_set_position(struct sway_view *view, double ox, double oy) { | 48 | void view_set_position(struct sway_view *view, double ox, double oy) { |
50 | if (view->iface.set_position) { | 49 | if (view->iface.set_position) { |
51 | struct wlr_box box = { | 50 | struct wlr_box box = { |