diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2011-07-21 09:48:09 -0700 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2011-07-21 09:48:09 -0700 |
commit | a4ba1da03d2f50f849b9f01f42b9ccbde47a6477 (patch) | |
tree | efd60e675800fc394441d8ed37d2dbe84a8841d2 | |
parent | 2669f72e95d93b45e4b46afc78ec668c7d8cfcb1 (diff) |
xserver: Ignore requests from X servers we didn't launch
-rw-r--r-- | compositor/xserver-launcher.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compositor/xserver-launcher.c b/compositor/xserver-launcher.c index 90a4b2c2..fe12776a 100644 --- a/compositor/xserver-launcher.c +++ b/compositor/xserver-launcher.c @@ -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) + return; + window = wl_hash_table_lookup(wm->window_hash, id); if (window == NULL) { fprintf(stderr, "set_window_id for unknown window %d\n", id); |