mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-14 08:56:26 -05:00
wl backend: add wlr_output_is_wl
This commit is contained in:
parent
f83b16bc17
commit
dabfe159de
3 changed files with 12 additions and 1 deletions
|
|
@ -205,6 +205,10 @@ static struct wlr_output_impl output_impl = {
|
|||
.move_cursor = wlr_wl_output_move_cursor,
|
||||
};
|
||||
|
||||
bool wlr_output_is_wl(struct wlr_output *wlr_output) {
|
||||
return wlr_output->impl == &output_impl;
|
||||
}
|
||||
|
||||
static void xdg_surface_handle_configure(void *data, struct zxdg_surface_v6 *xdg_surface,
|
||||
uint32_t serial) {
|
||||
struct wlr_wl_backend_output *output = data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue