https://bugs.freedesktop.org/show_bug.cgi?id=77527

          Priority: medium
            Bug ID: 77527
          Assignee: [email protected]
           Summary: wl_shell maps a surface even without set_toplevel
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: weston
           Product: Wayland

With current Weston master (304996d182874ded26adce40ce1c29210fc5352b), Weston's
desktop-shell will map a surface, which has a wl_shell_surface, but has not
issued set_toplevel.

This can be easily tested by commenting out line clients/simple-touch.c:314,
the one calling wl_shell_surface_set_toplevel(touch->shell_surface);, and
running simple-touch. On the very next repaint, the window appears on screen,
but does not participate in window management like Win+tab switching or
activation.

With the above modification, the simple-touch surface should not be mapped at
all.

Thanks to bug #77521 for making me try this.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Wayland-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to