mirror of
https://github.com/swaywm/sway.git
synced 2025-11-05 13:29:51 -05:00
Merge pull request #1700 from swaywm/move-cmd-full
Implement move [left|right|up|down]
This commit is contained in:
commit
f5a9bd5cb7
12 changed files with 501 additions and 48 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue