[Wayland-bugs] [Bug 73711] Invalid user data pointer passed to "pointer_handle_enter"

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Feb 1 01:12:47 PST 2014


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

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

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

--- Comment #10 from Kristian Høgsberg <krh at bitplanet.net> ---
commit 23900f70e57277805db652316b76d18b2d59281c
Author: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira at intel.com>
Date:   Fri Jan 31 16:07:51 2014 +0200

    input: Empty the current input region when configuring pointer surfaces

    The input region of the cursor surface is set to empty in
    pointer_cursor_surface_configure(). Since during the commit process
    this function is called before the pending input region is made
    current, it empties surface->pending.input instead of surface->input.

    But pointer_cursor_surface_configure() is also called from
    pointer_set_cursor() in order to map the cursor even if there isn't a
    subsequent attach and commit to the cursor surface. In that case,
    surface->input is never emptied, since the configure function emptied
    only the pending input region and there wasn't a commit that made it
    effective.

    Fix this by emptying both pending and current input regions. The latter
    shouldn't cause problems since the surface can't have a role prior to
    being assigned the cursor role, so it shouldn't be mapped in the first
    place.

    Also change toytoolkit so that it triggers the bug.

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

-- 
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/20140201/61b3171a/attachment.html>


More information about the Wayland-bugs mailing list