mirror of
https://codeberg.org/dwl/dwl.git
synced 2025-10-26 17:54:14 +00:00
xwayland: add server and basic window functionality
This commit is contained in:
parent
e9bfd8c718
commit
ae245556e5
5
dwl.c
5
dwl.c
@ -617,10 +617,7 @@ focusclient(Client *c, struct wlr_surface *surface, int lift)
|
||||
/* assert(VISIBLEON(c, c->mon)); ? */
|
||||
/* Use top-level wlr_surface if nothing more specific given */
|
||||
if (!surface) {
|
||||
if (c->xdg_surface)
|
||||
surface = c->xdg_surface->surface;
|
||||
else
|
||||
surface = c->xwayland_surface->surface;
|
||||
surface = WLR_SURFACE(c);
|
||||
}
|
||||
|
||||
/* Focus the correct monitor (must come after selclient!) */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user