aboutsummaryrefslogtreecommitdiff
path: root/xwayland
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-07-28 14:26:35 +0200
committerAlexander Orzechowski <alex@ozal.ski>2023-08-03 03:19:35 +0000
commit77dc1c28aa551616521b60f1a8727a25a45f82e1 (patch)
treea4ed92d5cad0cd5e3591bc985144627986f57e55 /xwayland
parent73db481037cd145ad930293f7edb52a9a7b60ef0 (diff)
xwayland: drop wlr_xwayland_surface.events.set_pid
The PID of an X11 window cannot change. This is a remnant from the days when we queried the PID with a window property, instead of using XRes.
Diffstat (limited to 'xwayland')
-rw-r--r--xwayland/xwm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/xwayland/xwm.c b/xwayland/xwm.c
index 188bb5b8..0c30d8f6 100644
--- a/xwayland/xwm.c
+++ b/xwayland/xwm.c
@@ -177,7 +177,6 @@ static struct wlr_xwayland_surface *xwayland_surface_create(
wl_signal_init(&surface->events.set_role);
wl_signal_init(&surface->events.set_title);
wl_signal_init(&surface->events.set_parent);
- wl_signal_init(&surface->events.set_pid);
wl_signal_init(&surface->events.set_startup_id);
wl_signal_init(&surface->events.set_window_type);
wl_signal_init(&surface->events.set_hints);
@@ -627,7 +626,6 @@ static void read_surface_client_id(struct wlr_xwm *xwm,
return;
}
xsurface->pid = *pid;
- wl_signal_emit_mutable(&xsurface->events.set_pid, NULL);
free(reply);
}