aboutsummaryrefslogtreecommitdiff
path: root/sway/layout.c
diff options
context:
space:
mode:
authorHalf-Shot <half-shot@molrams.com>2015-08-20 21:45:00 +0100
committerHalf-Shot <half-shot@molrams.com>2015-08-20 21:45:00 +0100
commit713bf29ec901b711d782e96721898c32fcd5d56e (patch)
tree08a2ab6b97d1e729204fb611aed9c919b1b47a0a /sway/layout.c
parent3f5343199b7668b8a57793be81bd8c6911dc4dd3 (diff)
Few stray bits
Diffstat (limited to 'sway/layout.c')
-rw-r--r--sway/layout.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sway/layout.c b/sway/layout.c
index a48f15c4..0c1f736d 100644
--- a/sway/layout.c
+++ b/sway/layout.c
@@ -108,7 +108,9 @@ swayc_t *remove_child(swayc_t *child) {
return parent;
}
-void move_container(swayc_t *container,swayc_t* root,int direction){
+//TODO: Implement horizontal movement.
+//TODO: Implement move to a different workspace.
+void move_container(swayc_t *container,swayc_t* root,enum movement_direction direction){
sway_log(L_DEBUG, "Moved window");
swayc_t *temp;
int i;
@@ -121,8 +123,6 @@ void move_container(swayc_t *container,swayc_t* root,int direction){
//Only one container, meh.
break;
}
- //TODO: Implement horizontal movement.
- //TODO: Implement move to a different workspace.
if(direction == MOVE_LEFT && i > 0){
temp = root->children->items[i-1];
root->children->items[i] = temp;