xserver: Only launch wm for xservers we launch

dev
Kristian Høgsberg 14 years ago
parent 86ec8e80d8
commit 4a431477ec
  1. 5
      compositor/xserver-launcher.c

@ -440,6 +440,11 @@ wlsc_xserver_bind(struct wl_client *client,
struct wlsc_xserver *wxs =
container_of(global, struct wlsc_xserver, xserver.object);
/* If it's a different client than the xserver we launched,
* don't start the wm. */
if (client != wxs->client)
return;
wxs->wm = wlsc_wm_create(wxs);
if (wxs == NULL) {
fprintf(stderr, "failed to create wm\n");

Loading…
Cancel
Save