e_comp_wl_input: allow cursor warping to hint position requested by inactive window 28/318028/1
authorduna.oh <duna.oh@samsung.com>
Mon, 23 Sep 2024 11:23:18 +0000 (20:23 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Tue, 24 Sep 2024 01:45:30 +0000 (10:45 +0900)
commitcf38c86d153acaed0153206ace72e2574e6df4bf
treee98e6a463fda815a738678a284ef374ce4697a68
parentc28c663fd5d8ed0f5cc81f79d8a772b074a449a2
e_comp_wl_input: allow cursor warping to hint position requested by inactive window

In cases where active constraint window doesn't set its cursor hint position,
the cursor will be warped to the hint position provided by the inactive window
requesting it.

< Scenario >
1. The left edge window becomes locked.
2. To release the pointer lock, the left edge window requests warp_pointer,
without setting its cursor hint position.
3. The top edge window sets its cursor hint position because it expects
the cursor to appear from the top rather than the left side.

Change-Id: Ia4ee073bdc30e29d7a844c5c3bf542d46cd1c48c
src/bin/server/e_comp_wl_input.c