birdwl

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit a4fa9546166c9af277616dd6dcd80e61ee024eb3
parent 35951a8d7eb3bcf2c7d618e156fd7b163e64d976
Author: Leonardo Hernández Hernández <leohdz172@proton.me>
Date:   Sat,  3 Aug 2024 12:09:18 -0600

do not restack xwayland surfaces (wlroots!4756)

References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4756

Diffstat:
Mclient.h | 11-----------
Mdwl.c | 1-
2 files changed, 0 insertions(+), 12 deletions(-)

diff --git a/client.h b/client.h @@ -302,17 +302,6 @@ client_notify_enter(struct wlr_surface *s, struct wlr_keyboard *kb) } static inline void -client_restack_surface(Client *c) -{ -#ifdef XWAYLAND - if (client_is_x11(c)) - wlr_xwayland_surface_restack(c->surface.xwayland, NULL, - XCB_STACK_MODE_ABOVE); -#endif - return; -} - -static inline void client_send_close(Client *c) { #ifdef XWAYLAND diff --git a/dwl.c b/dwl.c @@ -1368,7 +1368,6 @@ focusclient(Client *c, int lift) wl_list_insert(&fstack, &c->flink); selmon = c->mon; c->isurgent = 0; - client_restack_surface(c); /* Don't change border color if there is an exclusive focus or we are * handling a drag operation */