|
|
@ -193,6 +193,17 @@ weston_desktop_xwayland_surface_destroy(struct weston_desktop_surface *dsurface, |
|
|
|
free(surface); |
|
|
|
free(surface); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static void |
|
|
|
|
|
|
|
weston_desktop_xwayland_surface_close(struct weston_desktop_surface *dsurface, |
|
|
|
|
|
|
|
void *user_data) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
struct weston_desktop_xwayland_surface *surface = user_data; |
|
|
|
|
|
|
|
struct weston_surface *wsurface = |
|
|
|
|
|
|
|
weston_desktop_surface_get_surface(surface->surface); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
surface->client_interface->send_close(wsurface); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
static bool |
|
|
|
static bool |
|
|
|
weston_desktop_xwayland_surface_get_maximized(struct weston_desktop_surface *dsurface, |
|
|
|
weston_desktop_xwayland_surface_get_maximized(struct weston_desktop_surface *dsurface, |
|
|
|
void *user_data) |
|
|
|
void *user_data) |
|
|
@ -219,6 +230,7 @@ static const struct weston_desktop_surface_implementation weston_desktop_xwaylan |
|
|
|
.get_fullscreen = weston_desktop_xwayland_surface_get_fullscreen, |
|
|
|
.get_fullscreen = weston_desktop_xwayland_surface_get_fullscreen, |
|
|
|
|
|
|
|
|
|
|
|
.destroy = weston_desktop_xwayland_surface_destroy, |
|
|
|
.destroy = weston_desktop_xwayland_surface_destroy, |
|
|
|
|
|
|
|
.close = weston_desktop_xwayland_surface_close, |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
static void |
|
|
|
static void |
|
|
|