Merge pull request #1700 from swaywm/move-cmd-full

Implement move [left|right|up|down]
This commit is contained in:
Drew DeVault 2018-04-07 11:19:25 -04:00 committed by GitHub
commit f5a9bd5cb7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 501 additions and 48 deletions

View file

@ -182,4 +182,11 @@ void container_create_notify(struct sway_container *container);
void container_damage_whole(struct sway_container *container);
bool container_reap_empty(struct sway_container *con);
struct sway_container *container_reap_empty_recursive(
struct sway_container *con);
struct sway_container *container_flatten(struct sway_container *container);
#endif

View file

@ -1,7 +1,7 @@
#ifndef _SWAY_LAYOUT_H
#define _SWAY_LAYOUT_H
#include <wlr/types/wlr_output_layout.h>
#include <wlr/render/wlr_texture.h>
#include "sway/tree/container.h"
enum movement_direction {
@ -29,6 +29,8 @@ struct sway_root {
struct wl_list xwayland_unmanaged; // sway_xwayland_unmanaged::link
struct wlr_texture *debug_tree;
struct {
struct wl_signal new_container;
} events;