e_hwc_window: Send the event to wl_tbm_queue which received the activate event 57/264857/4
authorChangyeon Lee <cyeon.lee@samsung.com>
Fri, 1 Oct 2021 05:42:15 +0000 (14:42 +0900)
committerChangyeon Lee <cyeon.lee@samsung.com>
Wed, 6 Oct 2021 03:10:03 +0000 (12:10 +0900)
commit2568112e06ac65b45cb630403bd44bb4793b4739
treebd672ed580cfa3185bbb5345e0ba357af892eaca
parent8bb957e9016602e028e2bbd388dae5d2effbbb0d
e_hwc_window: Send the event to wl_tbm_queue which received the activate event

if wl_surface has multiple wl_tbm_queue, it is possible that
the deactivate/usable/export event is sent to wl_tbm_queue which does not
recevied the activate event.

Fix the problem scenario
1. Create wl_tbm_queue1 with wl_surface1
2. Send the activate event to wl_tbm_queue1
3. Create wl_tbm_queue2 with wl_surface2
4. Send the deactivate/usable/export event to wl_tbm_queue2

this patch has dependency with wayland-tbm patch
server: Add wayland_tbm_server_client_queue_set_destroy_cb

Change-Id: I7b1a7c1c361407d106ef04ddb48c14b2e60efbe6
src/bin/e_hwc_window.c
src/bin/e_hwc_window.h
src/bin/e_hwc_window_queue.c