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

Kristian Høgsberg <[email protected]> changed:

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

--- Comment #1 from Kristian Høgsberg <[email protected]> ---
Fixed in:

commit 641796c31ac5bebf42a630557de734aad01445c9
Author: Ander Conselvan de Oliveira <[email protected]>
Date:   Thu Apr 10 16:36:57 2014 +0300

    shell: Keep shsurf->fullscreen_output set after unset_fullscreen()

    When a fullscreen surface gets the maximized state, the function
    reset_surface_type() is called and that causes unset_fullscreen() to be
    called. That function would set the value of shsurf->fullscreen_output
    to NULL. However, since the surface still has the fullscreen state, it
    will be configured as a fullscreen surface again, and an attempt to
    access that field would cause the compositor to crash.

    Fix the crash by keeping the value of fullscreen_output around after
    unset_fullscreen(). This is safe since the value is only used when a
    surface has the fullscreen state and is replaced on a new request to
    make the surface fullscreen.

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

-- 
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