|
|
@ -59,8 +59,7 @@ static struct sway_container *container_at_cursor(struct sway_cursor *cursor,
|
|
|
|
// find the output the cursor is on
|
|
|
|
// find the output the cursor is on
|
|
|
|
struct wlr_output_layout *output_layout =
|
|
|
|
struct wlr_output_layout *output_layout =
|
|
|
|
root_container.sway_root->output_layout;
|
|
|
|
root_container.sway_root->output_layout;
|
|
|
|
struct wlr_output *wlr_output =
|
|
|
|
struct wlr_output *wlr_output = wlr_output_layout_output_at(output_layout,
|
|
|
|
wlr_output_layout_output_at(output_layout,
|
|
|
|
|
|
|
|
cursor->cursor->x, cursor->cursor->y);
|
|
|
|
cursor->cursor->x, cursor->cursor->y);
|
|
|
|
if (wlr_output == NULL) {
|
|
|
|
if (wlr_output == NULL) {
|
|
|
|
return NULL;
|
|
|
|
return NULL;
|
|
|
|