summaryrefslogtreecommitdiff
path: root/weston.ini.in
diff options
context:
space:
mode:
authorXiong Zhang <xiong.y.zhang@intel.com>2013-11-25 18:42:51 +0800
committerKristian Høgsberg <krh@bitplanet.net>2013-11-25 16:32:12 -0800
commitbf3c1c6913cf00e12a579a637abb8c4e68233a8c (patch)
tree27f9acb5b25600f48e5d6732904e4ae17593c358 /weston.ini.in
parent853a7799d6a28a7ed1cae76c164dcafb48b6253d (diff)
downloadweston-bf3c1c6913cf00e12a579a637abb8c4e68233a8c.tar.gz
distinguish touch screen and pointer dnd in client
Data device interface in client just handle with pointer's dnd. If a touch screen trigger dnd, it will use pointer struct like i nput->sx, input->sy, input->pointer_focus. So if pointer is moving when touch screen trigeer a dnd, wrong behaviore will occur. Before touch screen start dnd, system call touch_grab() to mark the following drag and drop operation is generated by touch screen. Defined some common variables in struct input to track dnd. Note, touch screen and pointer can't generate drag and drop at the same time, becuae data device protocol can't identify the drag and drop event is generated by touch screen or pointer. Signed-off-by: Xiong Zhang <xiong.y.zhang@intel.com> Reviewed-by: Kristian Hogsberg <hoegsberg@gmail.com>
Diffstat (limited to 'weston.ini.in')
0 files changed, 0 insertions, 0 deletions