mirror of
https://github.com/labwc/labwc.git
synced 2026-03-21 05:33:52 -04:00
Chase wlroots: Stop using wlr_xwayland_surface event data
Follow-up from b816c16701
Chase wlroots: Stop using wlr_xwayland_surface event data
Chases: 27edd024f83892f4af9c5084d47b73f26966aaf1
xwayland: pass NULL as event data
This commit is contained in:
parent
869ed069a5
commit
d503370a77
1 changed files with 3 additions and 2 deletions
|
|
@ -153,11 +153,12 @@ static void
|
||||||
unmanaged_handle_request_activate(struct wl_listener *listener, void *data)
|
unmanaged_handle_request_activate(struct wl_listener *listener, void *data)
|
||||||
{
|
{
|
||||||
wlr_log(WLR_DEBUG, "handle unmanaged request_activate");
|
wlr_log(WLR_DEBUG, "handle unmanaged request_activate");
|
||||||
struct wlr_xwayland_surface *xsurface = data;
|
struct xwayland_unmanaged *unmanaged =
|
||||||
|
wl_container_of(listener, unmanaged, request_activate);
|
||||||
|
struct wlr_xwayland_surface *xsurface = unmanaged->xwayland_surface;
|
||||||
if (!xsurface->mapped) {
|
if (!xsurface->mapped) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
struct xwayland_unmanaged *unmanaged = xsurface->data;
|
|
||||||
struct server *server = unmanaged->server;
|
struct server *server = unmanaged->server;
|
||||||
struct seat *seat = &server->seat;
|
struct seat *seat = &server->seat;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue