Merge pull request #853 from emersion/xwayland-client-timeout

Add wlr_xwayland_surface_ping
This commit is contained in:
Drew DeVault 2018-04-08 16:30:45 -04:00 committed by GitHub
commit 7efd9885b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 102 additions and 27 deletions

View file

@ -260,6 +260,7 @@ void handle_xwayland_surface(struct wl_listener *listener, void *data) {
struct wlr_xwayland_surface *surface = data;
wlr_log(L_DEBUG, "new xwayland surface: title=%s, class=%s, instance=%s",
surface->title, surface->class, surface->instance);
wlr_xwayland_surface_ping(surface);
struct roots_xwayland_surface *roots_surface =
calloc(1, sizeof(struct roots_xwayland_surface));