Add focus surface setting of keyboard for copy and paste between clients
authorMinJeong Kim <minjjj.kim@samsung.com>
Wed, 9 Jul 2014 15:06:25 +0000 (11:06 -0400)
committerChris Michael <cp.michael@samsung.com>
Tue, 26 Aug 2014 14:10:37 +0000 (10:10 -0400)
commited161273955b7c3080f6d4773980cbc70c2e58d8
tree88436cffba3816214c8596ad67675e2ce9a078dc
parent97c39e74cc8bc2094eec6271a000fbd40785cdbd
Add focus surface setting of keyboard for copy and paste between clients

Summary:
To enable copy and paste between clients,
wayland data device requires to know what surface is focused.
So this revision have make keyboard get focused surface when client is focused or unfocused,
and create data_offer for new focused surface in order to let new focused surface be able to get data from current selection data_source.

Test Plan:
1. Run wayland server
2. Run elementary_test -to entry5 on wayland server.
3. Run elementary_test -to entry5 on wayland server again. (preparing two clients)
4. Copy text on one of clients, and paste to the other.

Reviewers: devilhorns

CC: gwanglim, cedric
Differential Revision: https://phab.enlightenment.org/D1157
src/bin/e_comp_wl.c
src/bin/e_comp_wl.h
src/bin/e_comp_wl_data.c
src/bin/e_comp_wl_data.h