[Wayland-bugs] [Bug 72404] Weston infinite loop, 100% CPU when client preview activated during fullscreen

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jan 7 21:52:47 PST 2014


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

Kristian Høgsberg <krh at bitplanet.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Kristian Høgsberg <krh at bitplanet.net> ---
commit e6bbe5a90d1ea91624ebdbdb7abdc7a1bbe9829d
Author: Emilio Pozuelo Monfort <emilio.pozuelo at collabora.co.uk>
Date:   Tue Jan 7 16:41:39 2014 +0100

    exposay: fix infinite loop with fullscreen surfaces

    We were calling exposay_highlight_surface() inside a wl_list_for_each
    loop for a layer, but exposay_highlight_surface() calls activate()
    which calls shell_surface_update_layer(), which removes the surface
    from its layer and reinserts it, causing an infinite loop.

    Call exposay_highlight_surface() outside the for_each to avoid this.

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

-- 
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/20140108/e767b990/attachment.html>


More information about the Wayland-bugs mailing list