get xwayland working again
This commit is contained in:
parent
ba484be754
commit
ac32b9ef95
2 changed files with 4 additions and 1 deletions
|
@ -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);
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue