Patch for wl_pointer_set_focus re-entrant issue
Christopher Michael
cp.michael at samsung.com
Tue Apr 2 05:37:15 PDT 2013
Hi All,
Attached a patch which (appears) to fix the issue of using
wl_pointer_set_focus(ptr, NULL, 0, 0) inside the compositor.
The short version: If the input has no focus_widget, then we cannot get
the default cursor from: input->focus_widget->default_cursor.
This patch will try to get the cursor image from "widget" (which is set
either from input->grab or from input->focus_widget) if it can. If input
has no grab, and no focused_widget, then it resets cursor back to
CURSOR_UNSET.
Cheers,
devilhorns
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-re-entrant-pointer-focus-issue-when-using-wl_poi.patch
Type: text/x-patch
Size: 1164 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20130402/56c77528/attachment-0001.bin>
More information about the wayland-devel
mailing list