mirror of
https://github.com/brl/mutter.git
synced 2024-11-13 01:36:10 -05:00
xwayland: Shuffle some code around
This commit is contained in:
parent
45cb151443
commit
1a62ac9276
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user