mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
xwm.h: fix guard ifdef and remove wlr_ prefix from xwm_atoms_contains
This commit is contained in:
parent
d9a724c4a2
commit
2910972b25
3 changed files with 5 additions and 5 deletions
|
|
@ -418,7 +418,7 @@ bool wlr_xwayland_surface_is_unmanaged(const struct wlr_xwayland_surface *surfac
|
|||
};
|
||||
|
||||
for (size_t i = 0; i < sizeof(needles) / sizeof(needles[0]); ++i) {
|
||||
if (wlr_xwm_atoms_contains(surface->xwm, surface->window_type,
|
||||
if (xwm_atoms_contains(surface->xwm, surface->window_type,
|
||||
surface->window_type_len, needles[i])) {
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue