weston/clients
Derek Foreman 493d979e57 window: Fix crash in input_set_pointer_image when cursor is special
Certain circumstances may lead to the "force" clause in
input_set_pointer_image() being reached when the current cursor
is blank or unset.  These are special cursors that don't have
images, and they need to be handled differently than image cursors.

This patch puts the special cursor handling in its own function and calls
it from both places that need it.  Previously only the frame callback
handler did this correctly.

Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
2015-03-05 10:14:25 +02:00
..
calibrator.c Make sure config.h is included before any system headers 2014-04-07 10:22:28 -07:00
clickdot.c input: Schedule pointer sprite repaint when cursor is set 2014-09-10 14:20:13 +03:00
cliptest.c cliptest: sync calculate_edges with master copy 2014-08-20 11:51:27 +03:00
desktop-shell.c desktop-shell: properly set background widget as opaque 2014-08-28 13:41:00 +03:00
dnd.c dnd: Fix some mouse cursor issues 2014-11-28 13:13:57 +02:00
editor.c editor: Make editor multi-seat aware 2015-01-27 14:40:05 -08:00
eventdemo.c weston-eventdemo --help works 2014-08-19 12:19:16 +03:00
flower.c Clients: Fix memleak issues in various clients of weston 2014-06-24 10:22:43 -07:00
fullscreen.c Clients: Fix memleak issues in various clients of weston 2014-06-24 10:22:43 -07:00
gears.c gears: fix invalid calculation of the first FPS 2014-08-18 15:27:16 +03:00
glmatrix.c Add signedness warning flag and fix fallout 2012-03-30 11:52:39 -04:00
image.c image: don't print redundant error 2014-09-11 13:11:29 +03:00
ivi-shell-user-interface.c clients: a reference implementation of UI client how to use ivi-hmi-controller. 2014-12-04 17:13:42 +02:00
keyboard.c keyboard: do not crash when input panel is not available 2014-09-17 13:52:09 +03:00
matrix3.xpm clients: import glmatrix.c and matrix3.xpm 2011-11-18 14:45:04 +02:00
multi-resource.c multi-resource: remove an unnecessary call of wl_display_get_fd() 2014-08-28 13:08:43 +03:00
nested-client.c Make sure config.h is included before any system headers 2014-04-07 10:22:28 -07:00
nested.c Made weston-nested --help work 2014-08-19 12:19:16 +03:00
presentation-shm.c presentation-shm: put run mode in window title 2015-02-19 15:00:17 +02:00
resizor.c clients: Remove the window / user parameters from the menu function 2014-05-18 13:54:15 -07:00
scaler.c weston-scaler --help works even if not run inside wayland 2014-08-19 12:21:44 +03:00
screenshot.c screenshooter: Add missing newline and use program_invocation_short_name 2013-08-12 22:15:38 -07:00
simple-damage.c xdg-shell: Bump unstable version 2015-02-27 14:59:43 +02:00
simple-egl.c xdg-shell: Bump unstable version 2015-02-27 14:59:43 +02:00
simple-shm.c xdg-shell: Bump unstable version 2015-02-27 14:59:43 +02:00
simple-touch.c simple-touch: Handle multiple seats properly 2014-05-09 12:50:11 -07:00
smoke.c smoke: fix valgrind invalid read errors 2014-11-11 12:59:43 +02:00
stacking.c Clients: Fix memleak issues in various clients of weston 2014-06-24 10:22:43 -07:00
subsurfaces.c clients: Remove stray new-line 2015-01-26 11:52:18 -08:00
terminal.c weston-terminal --help and other command-line options 2014-08-19 12:19:17 +03:00
transformed.c Clients: Fix memleak issues in various clients of weston 2014-06-24 10:22:43 -07:00
weston-info.c weston-info: report presentation clock 2014-09-30 11:37:02 +03:00
weston-simple-im.c Replace deprecated xkbcommon symbols with current names 2014-08-20 01:05:13 -07:00
window.c window: Fix crash in input_set_pointer_image when cursor is special 2015-03-05 10:14:25 +02:00
window.h clients: Allow creating a "detached" menu 2014-05-23 09:37:19 -07:00
wscreensaver-glue.c screensaver: fix decoding of transparency in xpm files 2012-09-06 21:08:12 -04:00
wscreensaver-glue.h Never include wayland-util.h directly 2011-11-22 09:35:14 -05:00
wscreensaver.c Made weston-screensaver --help work 2014-08-19 12:19:17 +03:00
wscreensaver.h Make sure config.h is included before any system headers 2014-04-07 10:22:28 -07:00