mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-15 08:56:26 -05:00
x11 backend: add wlr_output_is_x11
This commit is contained in:
parent
3e228b0b2a
commit
f83b16bc17
3 changed files with 6 additions and 1 deletions
|
|
@ -401,3 +401,7 @@ static struct wlr_output_impl output_impl = {
|
|||
.make_current = output_make_current,
|
||||
.swap_buffers = output_swap_buffers,
|
||||
};
|
||||
|
||||
bool wlr_output_is_x11(struct wlr_output *wlr_output) {
|
||||
return wlr_output->impl == &output_impl;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue