mirror of
https://github.com/swaywm/sway.git
synced 2025-11-07 13:29:56 -05:00
Revert "Refactor tree"
This commit is contained in:
parent
6b7841b11f
commit
d0c7f66e95
39 changed files with 588 additions and 593 deletions
|
|
@ -1,8 +1,8 @@
|
|||
#include <wayland-server.h>
|
||||
#include <wlr/types/wlr_output_layout.h>
|
||||
#include "sway/tree/container.h"
|
||||
#include "sway/tree/layout.h"
|
||||
#include "sway/tree/view.h"
|
||||
#include "sway/container.h"
|
||||
#include "sway/layout.h"
|
||||
#include "sway/view.h"
|
||||
|
||||
const char *view_get_title(struct sway_view *view) {
|
||||
if (view->iface.get_prop) {
|
||||
|
|
@ -45,7 +45,6 @@ void view_set_size(struct sway_view *view, int width, int height) {
|
|||
}
|
||||
}
|
||||
|
||||
// TODO make view coordinates in layout coordinates
|
||||
void view_set_position(struct sway_view *view, double ox, double oy) {
|
||||
if (view->iface.set_position) {
|
||||
struct wlr_box box = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue