mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -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)
|
||||
{
|
||||
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) {
|
||||
return;
|
||||
}
|
||||
struct xwayland_unmanaged *unmanaged = xsurface->data;
|
||||
struct server *server = unmanaged->server;
|
||||
struct seat *seat = &server->seat;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue