[Wayland-bugs] [Bug 77527] New: wl_shell maps a surface even without set_toplevel

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Apr 16 06:46:45 PDT 2014


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

          Priority: medium
            Bug ID: 77527
          Assignee: wayland-bugs at lists.freedesktop.org
           Summary: wl_shell maps a surface even without set_toplevel
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: ppaalanen at gmail.com
          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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20140416/bc31f00b/attachment.html>


More information about the Wayland-bugs mailing list