check toplevel resource instead of client's xdg_shell to set bounds
use the new wlroots function to get a toplevel from a wlr_surface References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4419
explicitly return -1 in the first check in toplevel_from_wlr_surface
do not use #ifdef -> #else -> #endif in client_is_x11 all other funcions use #ifdef -> #endif
delete unused functions
style fixes in client_is_float_type
correctly check if the scene node is enabled in client_is_rendered_on_mon
do not use magical numbers to check edges the interface is declared stable, which means we could just use 0 anyway
simplify client_get_clip the clips for xwayland and xdg clients are pretty similar, after all we only need to adjust x and y for xdg clients
use wlr_scene_subsurface_tree_set_clip References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4131 Closes: https://github.com/djpohly/dwl/issues/411
Revert "respect size hints" This reverts commit 72e0a560d9836c5e8658003f548203bcd722e565.
send maximized if tiled isn't supported (XDG shell) wlroots doesn't do it automatically anymore References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4409
Merge remote-tracking branch 'upstream/main' into wlroots-next
simplify setting the border color of clients
chase wlroots!4288 References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4288
set withdrawn state for xwayland invisible clients
add support for xdg-shell v6
chase wlroots map logic unification Signed-off-by: Leonardo Hernández Hernández <leohdz172@proton.me>
chase wlroots!3391 References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3991
follow upstream xwayland_surface changes wlroots removed the `wlr_surface_is_xwayland_surface` function, and renamed `wlr_xwayland_surface_from_wlr_surface` to `wlr_xwayland_surface_try_from_wlr_surface`. related commit: https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/fbf5982e3838ee28b5345e98832f6956c402b225