get xwayland working again

This commit is contained in:
Jasper St. Pierre 2014-01-16 17:48:52 -05:00
parent ba484be754
commit ac32b9ef95
2 changed files with 4 additions and 1 deletions

View File

@ -1613,7 +1613,8 @@ meta_window_new (MetaDisplay *display,
META_WINDOW_CLIENT_TYPE_X11, META_WINDOW_CLIENT_TYPE_X11,
NULL, NULL,
xwindow, xwindow,
TRUE, /* XXX */
!meta_is_wayland_compositor (),
existing_wm_state, existing_wm_state,
effect, effect,
&attrs); &attrs);

View File

@ -48,6 +48,8 @@ xserver_set_window_id (struct wl_client *client,
{ {
surface->window = window; surface->window = window;
window->surface = surface; window->surface = surface;
meta_window_set_surface_mapped (window, TRUE);
} }
} }