Commit a4ba1da0 authored by Kristian Høgsberg's avatar Kristian Høgsberg
Browse files

xserver: Ignore requests from X servers we didn't launch

parent 2669f72e
......@@ -537,6 +537,9 @@ xserver_set_window_id(struct wl_client *client, struct xserver *xserver,
struct wlsc_wm *wm = wxs->wm;
struct wlsc_wm_window *window;
if (client != wxs->client)
window = wl_hash_table_lookup(wm->window_hash, id);
if (window == NULL) {
fprintf(stderr, "set_window_id for unknown window %d\n", id);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment