diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-07-11 15:50:04 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-11 15:50:04 -0700 |
commit | 106a9eaf11da74ae4cfc6a268b62efa842251bfa (patch) | |
tree | 0ee0ea4ce75b28f278e830b9a86de48ba0474e03 | |
parent | Merge pull request #2248 from Dudemanguy911/fix_crash_on_floating_windows (diff) | |
parent | Updates for swaywm/wlroots#1116 (diff) | |
download | sway-106a9eaf11da74ae4cfc6a268b62efa842251bfa.tar.gz sway-106a9eaf11da74ae4cfc6a268b62efa842251bfa.tar.zst sway-106a9eaf11da74ae4cfc6a268b62efa842251bfa.zip |
Merge pull request #2235 from emersion/wlr-surface-role
Update for swaywm/wlroots#1116
-rw-r--r-- | sway/tree/view.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c index f99def6c..20cbaf1c 100644 --- 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) { | |||
752 | return NULL; | 752 | return NULL; |
753 | } | 753 | } |
754 | 754 | ||
755 | const char *role = wlr_surface->role ? wlr_surface->role->name : NULL; | ||
755 | wlr_log(WLR_DEBUG, "Surface of unknown type (role %s): %p", | 756 | wlr_log(WLR_DEBUG, "Surface of unknown type (role %s): %p", |
756 | wlr_surface->role, wlr_surface); | 757 | role, wlr_surface); |
757 | return NULL; | 758 | return NULL; |
758 | } | 759 | } |
759 | 760 | ||