sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 106a9eaf11da74ae4cfc6a268b62efa842251bfa
parent 2bc18d8cf77c2a4aa47453c4177fdaac29736db8
Author: Drew DeVault <sir@cmpwn.com>
Date:   Wed, 11 Jul 2018 15:50:04 -0700

Merge pull request #2235 from emersion/wlr-surface-role

Update for swaywm/wlroots#1116
Diffstat:
Msway/tree/view.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sway/tree/view.c b/sway/tree/view.c @@ -752,8 +752,9 @@ struct sway_view *view_from_wlr_surface(struct wlr_surface *wlr_surface) { 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_surface->role, wlr_surface); + role, wlr_surface); return NULL; }