e_dnd: Send mouse down/up event to KVM service when drag cancelled by KVM 96/317996/2
authorduna.oh <duna.oh@samsung.com>
Tue, 6 Aug 2024 09:46:49 +0000 (18:46 +0900)
committerDuna Oh <duna.oh@samsung.com>
Mon, 23 Sep 2024 10:39:18 +0000 (10:39 +0000)
commitc28c663fd5d8ed0f5cc81f79d8a772b074a449a2
tree3410346bd55636e018ef329acba6a5111fd9879a
parent247d6b5a2c2bd43713053c80c0b9999cac27c623
e_dnd: Send mouse down/up event to KVM service when drag cancelled by KVM

The basic DnD operation involves E20 sending a mouse up event to client
once dragging begins on the client, followed by the actual DnD operation.

This patch adresses the issue where the KVM service needs to be informed
when is mouse is released, even after the KVM itself cancels the drag.

< Scenario >
1. Draggging starts on the Browser.
2. The KVM service app requests cancel drag.
3. When the mouse button is released, KVM service has no way to detect it
since no mouse up event is sent to.

Change-Id: I8501e12294129211ff941742703fe29edaa975b8
src/bin/windowmgr/e_dnd.c