class_ -> class, free more stuff in destroy_shell_surface

This commit is contained in:
emersion 2017-09-27 23:47:39 +02:00
parent 241fec4d87
commit d6c6b7c506
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
3 changed files with 10 additions and 8 deletions

View file

@ -25,7 +25,7 @@ void handle_wl_shell_surface(struct wl_listener *listener, void *data) {
struct wlr_wl_shell_surface *surface = data;
wlr_log(L_DEBUG, "new shell surface: title=%s, class=%s",
surface->title, surface->class_);
surface->title, surface->class);
//wlr_wl_shell_surface_ping(surface); // TODO: segfaults
struct roots_wl_shell_surface *roots_surface =