diff options
author | 2015-08-20 21:45:00 +0100 | |
---|---|---|
committer | 2015-08-20 21:45:00 +0100 | |
commit | 713bf29ec901b711d782e96721898c32fcd5d56e (patch) | |
tree | 08a2ab6b97d1e729204fb611aed9c919b1b47a0a /sway/layout.c | |
parent | Merge branch 'master' of https://github.com/Half-Shot/sway (diff) | |
download | sway-713bf29ec901b711d782e96721898c32fcd5d56e.tar.gz sway-713bf29ec901b711d782e96721898c32fcd5d56e.tar.zst sway-713bf29ec901b711d782e96721898c32fcd5d56e.zip |
Few stray bits
Diffstat (limited to 'sway/layout.c')
-rw-r--r-- | sway/layout.c | 6 |
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) { | |||
108 | return parent; | 108 | return parent; |
109 | } | 109 | } |
110 | 110 | ||
111 | void move_container(swayc_t *container,swayc_t* root,int direction){ | 111 | //TODO: Implement horizontal movement. |
112 | //TODO: Implement move to a different workspace. | ||
113 | void move_container(swayc_t *container,swayc_t* root,enum movement_direction direction){ | ||
112 | sway_log(L_DEBUG, "Moved window"); | 114 | sway_log(L_DEBUG, "Moved window"); |
113 | swayc_t *temp; | 115 | swayc_t *temp; |
114 | int i; | 116 | int i; |
@@ -121,8 +123,6 @@ void move_container(swayc_t *container,swayc_t* root,int direction){ | |||
121 | //Only one container, meh. | 123 | //Only one container, meh. |
122 | break; | 124 | break; |
123 | } | 125 | } |
124 | //TODO: Implement horizontal movement. | ||
125 | //TODO: Implement move to a different workspace. | ||
126 | if(direction == MOVE_LEFT && i > 0){ | 126 | if(direction == MOVE_LEFT && i > 0){ |
127 | temp = root->children->items[i-1]; | 127 | temp = root->children->items[i-1]; |
128 | root->children->items[i] = temp; | 128 | root->children->items[i] = temp; |