mirror of
https://github.com/cage-kiosk/cage.git
synced 2025-10-29 05:40:19 -04:00
xwayland: move override-redirect assignmend to map handler
Some surfaces set their coordinates only when they're mapped, such as current Firefox's menu popup. Hence, we accomodate such clients.
This commit is contained in:
parent
c47eb031c6
commit
75b0f832ed
2 changed files with 6 additions and 6 deletions
2
view.c
2
view.c
|
|
@ -106,7 +106,7 @@ view_map(struct cg_view *view, struct wlr_surface *surface)
|
|||
|
||||
#if CAGE_HAS_XWAYLAND
|
||||
/* We shouldn't position override-redirect windows. They set
|
||||
their own (x,y) coordinates in handle_wayland_surface_new. */
|
||||
their own (x,y) coordinates in handle_wayland_surface_map. */
|
||||
if (view->type != CAGE_XWAYLAND_VIEW || xwayland_view_should_manage(view))
|
||||
#endif
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue