aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {
wlr_log(L_DEBUG, "Creating default workspace %s", ws_name);
swayc_t *ws = new_workspace(output, ws_name);
// Set each seat's focus if not already set
- // TODO FOCUS: this is probably stupid, we shouldn't define focus in two
- // places. We should probably put the active workspace on the sway_output
- // struct instead of trying to do focus semantics like this
struct sway_seat *seat = NULL;
wl_list_for_each(seat, &input_manager->seats, link) {
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,
*/
static swayc_t *get_swayc_in_output_direction(swayc_t *output,
enum movement_direction dir, struct sway_seat *seat) {
- // XXX is this really a seat function or can we do it with the default
- // seat?
if (!output) {
return NULL;
}