https://bugzilla.gnome.org/show_bug.cgi?id=695512
  gtk+ | wayland | unspecified

--- Comment #4 from Kristian Høgsberg <[email protected]> 2013-03-21 03:06:34 
UTC ---
Created an attachment (id=239438)
 View: https://bugzilla.gnome.org/attachment.cgi?id=239438
 Review: https://bugzilla.gnome.org/review?bug=695512&attachment=239438

fix for the real problem

From 0d9d808217a04ee965ce5f60f9aff00b2ec4938e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= <[email protected]>
Date: Wed, 20 Mar 2013 22:02:42 -0400
Subject: [PATCH] wayland: Use the pointer enter serial when setting cursor
 surface

wl_pointer.set_cursor is rejected if the serial number doesn't match
the enter serial number for the wl_pointer.  We passed the right serial
number when setting the cursor surface in response to the enter event.
Later set_cursor requests fail, but we can still attach new buffers to
our cursor surface, which is why the cursor changed, but the hotspot
didn't update.  Clicking in the decoration results in a leave/enter pair
which triggers wl_pointer.set_cursor with the right serial. That's why
clicking the decoration sets the right cursor.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wayland-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to