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
ae245556e5
commit
b3eb7b3c89
3
dwl.c
3
dwl.c
@ -616,9 +616,8 @@ focusclient(Client *c, struct wlr_surface *surface, int lift)
|
||||
if (c) {
|
||||
/* assert(VISIBLEON(c, c->mon)); ? */
|
||||
/* Use top-level wlr_surface if nothing more specific given */
|
||||
if (!surface) {
|
||||
if (!surface)
|
||||
surface = WLR_SURFACE(c);
|
||||
}
|
||||
|
||||
/* Focus the correct monitor (must come after selclient!) */
|
||||
selmon = c->mon;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user