output: add cursor output layers

This commit is contained in:
Simon Ser 2023-02-27 10:46:08 +01:00
parent 2bd5879950
commit a863b82bdb
2 changed files with 8 additions and 0 deletions

View file

@ -270,6 +270,10 @@ static bool test_layer(struct wlr_wl_output *output, struct wlr_output_layer_sta
return true;
}
if (layer_state->layer->cursor) {
return false; // TODO: add support for cursor layers
}
int x = layer_state->dst_box.x;
int y = layer_state->dst_box.y;
int width = layer_state->dst_box.width;