mirror of
https://github.com/labwc/labwc.git
synced 2026-03-28 07:58:28 -04:00
xwayland.c: Fix xwayland views activating themself before mapping
This commit is contained in:
parent
a2523081e2
commit
17d83402ee
2 changed files with 2 additions and 2 deletions
|
|
@ -63,7 +63,7 @@ unmanaged_handle_map(struct wl_listener *listener, void *data)
|
|||
int ly = unmanaged->ly;
|
||||
struct wlr_scene_node *parent, *node;
|
||||
struct view *view = parent_view(unmanaged->server, xsurface);
|
||||
if (!view || !view->scene_tree) {
|
||||
if (!view || !view->scene_node) {
|
||||
parent = &view->server->unmanaged_tree->node;
|
||||
} else {
|
||||
lx -= view->x;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue