mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
xwayland: use wlr_xwayland_surface_has_window_type()
This eliminates a bit of logic, including an extra XWayland connection. See also: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4553
This commit is contained in:
parent
a3d6226728
commit
fd5031731e
4 changed files with 52 additions and 99 deletions
|
|
@ -60,7 +60,8 @@ xdg_toplevel_view_get_size_hints(struct view *view)
|
|||
}
|
||||
|
||||
static bool
|
||||
xdg_toplevel_view_contains_window_type(struct view *view, int32_t window_type)
|
||||
xdg_toplevel_view_contains_window_type(struct view *view,
|
||||
enum window_type window_type)
|
||||
{
|
||||
assert(view);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue