xwayland: Shuffle some code around

This commit is contained in:
Jasper St. Pierre 2014-01-31 11:24:02 -05:00
parent 45cb151443
commit 1a62ac9276

View File

@ -44,11 +44,11 @@ xserver_set_window_id (struct wl_client *client,
MetaWindow *window;
window = meta_display_lookup_x_window (display, xid);
if (window)
{
surface->window = window;
window->surface = surface;
}
if (!window)
return;
surface->window = window;
window->surface = surface;
}
static const struct xserver_interface xserver_implementation = {