mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
xwayland: Shuffle some code around
This commit is contained in:
parent
45cb151443
commit
1a62ac9276
@ -44,12 +44,12 @@ xserver_set_window_id (struct wl_client *client,
|
||||
MetaWindow *window;
|
||||
|
||||
window = meta_display_lookup_x_window (display, xid);
|
||||
if (window)
|
||||
{
|
||||
if (!window)
|
||||
return;
|
||||
|
||||
surface->window = window;
|
||||
window->surface = surface;
|
||||
}
|
||||
}
|
||||
|
||||
static const struct xserver_interface xserver_implementation = {
|
||||
xserver_set_window_id
|
||||
|
Loading…
Reference in New Issue
Block a user