Merge pull request #163 from emersion/wl_shell-fixes

wl_shell fixes
This commit is contained in:
Drew DeVault 2017-09-28 13:29:49 -04:00 committed by GitHub
commit c92199a953
3 changed files with 75 additions and 80 deletions

View file

@ -56,7 +56,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);
wlr_wl_shell_surface_ping(surface); // TODO: segfaults
wlr_wl_shell_surface_ping(surface);
struct roots_wl_shell_surface *roots_surface =
calloc(1, sizeof(struct roots_wl_shell_surface));