remove old comments

master
Tony Crisci 7 years ago
parent 66a975038c
commit 4c4cc9c999

@ -152,9 +152,6 @@ swayc_t *new_output(struct sway_output *sway_output) {
wlr_log(L_DEBUG, "Creating default workspace %s", ws_name); wlr_log(L_DEBUG, "Creating default workspace %s", ws_name);
swayc_t *ws = new_workspace(output, ws_name); swayc_t *ws = new_workspace(output, ws_name);
// Set each seat's focus if not already set // 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; struct sway_seat *seat = NULL;
wl_list_for_each(seat, &input_manager->seats, link) { wl_list_for_each(seat, &input_manager->seats, link) {
if (!seat->has_focus) { if (!seat->has_focus) {

@ -353,8 +353,6 @@ void apply_vert_layout(swayc_t *container,
*/ */
static swayc_t *get_swayc_in_output_direction(swayc_t *output, static swayc_t *get_swayc_in_output_direction(swayc_t *output,
enum movement_direction dir, struct sway_seat *seat) { 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) { if (!output) {
return NULL; return NULL;
} }

Loading…
Cancel
Save