aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Tony Crisci <tony@dubstepdish.com>2018-02-20 19:04:03 -0500
committerLibravatar Tony Crisci <tony@dubstepdish.com>2018-02-20 19:04:03 -0500
commit4c4cc9c99943b4f80f1551c421b372b016dd04e6 (patch)
treea4063c89ab088714544b3a8f5f39b08a5fa956d2
parentadd doc to sway_seat_get_focus_inactive() (diff)
downloadsway-4c4cc9c99943b4f80f1551c421b372b016dd04e6.tar.gz
sway-4c4cc9c99943b4f80f1551c421b372b016dd04e6.tar.zst
sway-4c4cc9c99943b4f80f1551c421b372b016dd04e6.zip
remove old comments
-rw-r--r--sway/tree/container.c3
-rw-r--r--sway/tree/layout.c2
2 files changed, 0 insertions, 5 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c
index a6268133..84e14ba6 100644
--- a/sway/tree/container.c
+++ b/sway/tree/container.c
@@ -152,9 +152,6 @@ swayc_t *new_output(struct sway_output *sway_output) {
152 wlr_log(L_DEBUG, "Creating default workspace %s", ws_name); 152 wlr_log(L_DEBUG, "Creating default workspace %s", ws_name);
153 swayc_t *ws = new_workspace(output, ws_name); 153 swayc_t *ws = new_workspace(output, ws_name);
154 // Set each seat's focus if not already set 154 // Set each seat's focus if not already set
155 // TODO FOCUS: this is probably stupid, we shouldn't define focus in two
156 // places. We should probably put the active workspace on the sway_output
157 // struct instead of trying to do focus semantics like this
158 struct sway_seat *seat = NULL; 155 struct sway_seat *seat = NULL;
159 wl_list_for_each(seat, &input_manager->seats, link) { 156 wl_list_for_each(seat, &input_manager->seats, link) {
160 if (!seat->has_focus) { 157 if (!seat->has_focus) {
diff --git a/sway/tree/layout.c b/sway/tree/layout.c
index 3c78b6bc..91f0f36f 100644
--- a/sway/tree/layout.c
+++ b/sway/tree/layout.c
@@ -353,8 +353,6 @@ void apply_vert_layout(swayc_t *container,
353 */ 353 */
354static swayc_t *get_swayc_in_output_direction(swayc_t *output, 354static swayc_t *get_swayc_in_output_direction(swayc_t *output,
355 enum movement_direction dir, struct sway_seat *seat) { 355 enum movement_direction dir, struct sway_seat *seat) {
356 // XXX is this really a seat function or can we do it with the default
357 // seat?
358 if (!output) { 356 if (!output) {
359 return NULL; 357 return NULL;
360 } 358 }