1
1
mirror of https://github.com/swaywm/sway synced 2024-11-18 04:33:59 +01:00
This commit is contained in:
emersion 2018-07-09 22:59:57 +01:00 committed by Drew DeVault
parent 2bc18d8cf7
commit 60fdb71a1f

@ -752,8 +752,9 @@ struct sway_view *view_from_wlr_surface(struct wlr_surface *wlr_surface) {
return NULL; return NULL;
} }
const char *role = wlr_surface->role ? wlr_surface->role->name : NULL;
wlr_log(WLR_DEBUG, "Surface of unknown type (role %s): %p", wlr_log(WLR_DEBUG, "Surface of unknown type (role %s): %p",
wlr_surface->role, wlr_surface); role, wlr_surface);
return NULL; return NULL;
} }