mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-26 03:06:30 +00:00
explicitly return -1 in the first check in toplevel_from_wlr_surface
This commit is contained in:
parent
b1740056d5
commit
caac2d664d
1 changed files with 1 additions and 1 deletions
2
client.h
2
client.h
|
@ -39,7 +39,7 @@ toplevel_from_wlr_surface(struct wlr_surface *s, Client **pc, LayerSurface **pl)
|
|||
#endif
|
||||
|
||||
if (!s)
|
||||
return type;
|
||||
return -1;
|
||||
root_surface = wlr_surface_get_root_surface(s);
|
||||
|
||||
#ifdef XWAYLAND
|
||||
|
|
Loading…
Reference in a new issue