diff options
| author | Leonardo Hernández Hernández <leohdz172@proton.me> | 2023-11-16 21:46:46 -0600 | 
|---|---|---|
| committer | Leonardo Hernández Hernández <leohdz172@proton.me> | 2023-11-17 11:03:31 -0600 | 
| commit | caac2d664db998beddeeececd7253a11a665c162 (patch) | |
| tree | c98df9357fc83a7c3dbff95b1c2958c4e649b67d /client.h | |
| parent | b1740056d5e9f81888fc9cb3e016bdb8eff054c1 (diff) | |
explicitly return -1 in the first check in toplevel_from_wlr_surface
Diffstat (limited to '')
| -rw-r--r-- | client.h | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -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 | 
