From: Kristian Høgsberg Date: Thu, 21 Jul 2011 16:48:09 +0000 (-0700) Subject: xserver: Ignore requests from X servers we didn't launch X-Git-Tag: 0.85.0~398 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a4ba1da03d2f50f849b9f01f42b9ccbde47a6477;p=platform%2Fupstream%2Fweston.git xserver: Ignore requests from X servers we didn't launch --- diff --git a/compositor/xserver-launcher.c b/compositor/xserver-launcher.c index 90a4b2c..fe12776 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);