platform/upstream/enlightenment.git
10 months agoe_keyrouter: apply thread synchronization for key grab variables 33/297733/1
Jihoon Kim [Mon, 21 Aug 2023 11:20:26 +0000 (20:20 +0900)]
e_keyrouter: apply thread synchronization for key grab variables

key grab variables such as HardKeys[key].excl_ptr, or_excl_ptr, top_ptr can be updated
wherever _e_keyrouter_send_key_events_press() is executed in input thread.

Change-Id: I725acedbda32d6cc16d84dd86ccd228ff44daf8b
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
10 months agoe_info: add -input_subtype_set option in winfo (enlightenment_info) accepted/tizen/unified/20230823.173942
duna.oh [Tue, 22 Aug 2023 07:50:25 +0000 (16:50 +0900)]
e_info: add -input_subtype_set option in winfo (enlightenment_info)

Change-Id: I317425d70321bcc16e42f4246c98c64319ded770
Param: [input(ex./dev/input/eventX) subtype(ex.Remocon/None)]

10 months agoe_hwc_window_queue: separate buffer copy from main thread 56/297656/1
Changyeon Lee [Fri, 11 Aug 2023 04:53:11 +0000 (13:53 +0900)]
e_hwc_window_queue: separate buffer copy from main thread

this patch uses thread for copying buffer of queue to prevent
block main thread.

Change-Id: I2f152c0f06f827456437877879c2821856c01d1b

10 months agoe_pixmap: add buffer clear hoook 55/297655/1
Changyeon Lee [Thu, 10 Aug 2023 06:08:11 +0000 (15:08 +0900)]
e_pixmap: add buffer clear hoook

Change-Id: Ib46506c9779bdb227dd51bca2d7efce40a373cba

10 months agoe_input: add detail log in adding input device 99/297599/1 accepted/tizen/unified/20230822.162239
Jihoon Kim [Mon, 21 Aug 2023 09:33:06 +0000 (18:33 +0900)]
e_input: add detail log in adding input device

Change-Id: Idb8a6039b267cd72322b6814aff3a5e67a210647
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
10 months agoe_client: remove the use of ec->zone 89/297589/1
SooChan Lim [Fri, 18 Aug 2023 07:38:12 +0000 (16:38 +0900)]
e_client: remove the use of ec->zone

The zone variable at e_client will be deprecated.

Change-Id: I52674f3755ad11ece97e4527498fe78ec95dd3d8

10 months agoe_client: fix the FOCUS SET hook and event 88/297588/1
SooChan Lim [Thu, 17 Aug 2023 02:51:38 +0000 (11:51 +0900)]
e_client: fix the FOCUS SET hook and event

follow the original logic and condition.

Change-Id: Iac71a3f290065c8110adddc448fd069cb29e7955

10 months agoe_focus_policy_history: change the name of callback function 75/297575/1
SooChan Lim [Fri, 18 Aug 2023 04:34:28 +0000 (13:34 +0900)]
e_focus_policy_history: change the name of callback function

follow the naming rule of e_focus_policy_history

Change-Id: Id744a5884e1846ba56a6eb99c8b5be71960c7ad9

10 months agoe_focus_policy: check the parameter 74/297574/1
SooChan Lim [Fri, 18 Aug 2023 04:33:26 +0000 (13:33 +0900)]
e_focus_policy: check the parameter

check if zone is null.

Change-Id: Iccec5fcd70720c3dfc30d3ec3d6f8bba916706b7

10 months agoe_focus_policy: remove the use of ec->zone 73/297573/1
SooChan Lim [Fri, 18 Aug 2023 03:04:46 +0000 (12:04 +0900)]
e_focus_policy: remove the use of ec->zone

The variable zone at e_client will be deprecated.

Change-Id: I1fe9107f020139ba9dd86161b5440a4086bc6166

10 months agoe_zone: default focus policy is History policy. 72/297572/1
SooChan Lim [Fri, 18 Aug 2023 03:04:03 +0000 (12:04 +0900)]
e_zone: default focus policy is History policy.

change topstack into history

Change-Id: I5fc6a2c1081db2362b18a22dc83648d2992d30ca

10 months agoe_focus_policy: check if ec is null 71/297571/1
SooChan Lim [Thu, 17 Aug 2023 07:48:23 +0000 (16:48 +0900)]
e_focus_policy: check if ec is null

avoid segmentation fault due to accessing null pointer.

Change-Id: If2720db66b5565efcc1f0ab595af7effca7b3b54

10 months agoe_focus_policy: raise parent window in mouse down callback 70/297570/1
SooChan Lim [Thu, 17 Aug 2023 05:23:35 +0000 (14:23 +0900)]
e_focus_policy: raise parent window in mouse down callback

We add code to raise the parent window when the mouse down event is occured on below cases.
- the "always_click_to_raise" config is enabled.
- the parent and child makes its relationship as belong_to_parent property

Change-Id: I27348d93b0844e8e66521139cc56f93eb684b1a1

10 months agoe_focus_policy_topmost: change the log tag 69/297569/1
SooChan Lim [Thu, 17 Aug 2023 04:57:29 +0000 (13:57 +0900)]
e_focus_policy_topmost: change the log tag

Change-Id: Ia8438677fe7432a5bb6c44bdcd174f9ce6f0791e

10 months agoe_focus_policy_history: change the log tag 68/297568/1
SooChan Lim [Thu, 17 Aug 2023 04:56:45 +0000 (13:56 +0900)]
e_focus_policy_history: change the log tag

Change-Id: I5be46dd46d2f6366b04dec2ff9497f175745a23a

10 months agoe_focus_policy: fix the mouse callback logic 67/297567/1
SooChan Lim [Thu, 17 Aug 2023 03:11:59 +0000 (12:11 +0900)]
e_focus_policy: fix the mouse callback logic

follow the legacy code at client mouse callbacks.

Change-Id: I4a41424740f6ad61c1f34ad3fb6e33ceec50cf0b

10 months agoe_focus_policy: find the next focus when ec is deleted. 66/297566/1
SooChan Lim [Thu, 17 Aug 2023 03:09:19 +0000 (12:09 +0900)]
e_focus_policy: find the next focus when ec is deleted.

find the next focus when the deleting ec is the focused ec.

Change-Id: Ib529e740adea89afd10efe2f877513d341f8d204

10 months agoe_focus_policy_history: add E_FOCUS_HISTORY_TRACE macro for debugging 65/297565/1
SooChan Lim [Thu, 17 Aug 2023 03:05:51 +0000 (12:05 +0900)]
e_focus_policy_history: add E_FOCUS_HISTORY_TRACE macro for debugging

Add the tracing log for debugging the e_focus_policy_history.

Change-Id: I494e802bb4a08946009c8676649d54417cbfdbbd

10 months agoe_focus_policy_history: fix the focus_stack and the defer_focus_stack 64/297564/1
SooChan Lim [Thu, 17 Aug 2023 03:00:47 +0000 (12:00 +0900)]
e_focus_policy_history: fix the focus_stack and the defer_focus_stack

There is many bugs to manage the focus_stack and the defer_focus_stack.
Fix some issues to follow the legacy focus stack management.

Change-Id: I665314108c21d5dfbfbb84fed03d499e31321f0d

10 months agoe_client: fix the FOCUS SET hook and event 63/297563/1
SooChan Lim [Thu, 17 Aug 2023 02:51:38 +0000 (11:51 +0900)]
e_client: fix the FOCUS SET hook and event

follow the original logic and condition.

Change-Id: I3f630d2238eeec89ff820a40796ad8012022e314

10 months agoe_comp_object: remove E_COMP_OBJECT_HOOK_MOVE 62/297562/1
SooChan Lim [Thu, 17 Aug 2023 02:48:34 +0000 (11:48 +0900)]
e_comp_object: remove  E_COMP_OBJECT_HOOK_MOVE

It is not used anymore.

Change-Id: If892fe6a78026e97382bf4b14b39234ec0b90215

10 months agoe_focus_policy: use E_CLIENT_HOOK_MOVE 61/297561/1
SooChan Lim [Thu, 17 Aug 2023 02:47:46 +0000 (11:47 +0900)]
e_focus_policy: use E_CLIENT_HOOK_MOVE

Use E_CLIENT_HOOK_MOVE instead of E_COMP_OBJECT_MOVE

Change-Id: Ib4b4da1f4db21b88f4392805e58d4437a084dd37

10 months agoe_client: make E_CLIENT_HOOK_MOVE 60/297560/1
SooChan Lim [Thu, 17 Aug 2023 02:37:34 +0000 (11:37 +0900)]
e_client: make E_CLIENT_HOOK_MOVE

This is the e_client hook when _e_client_cb_evas_move is called.

Change-Id: I20fc48855706fff4665a17ac006bd8b9eefb20c6

10 months agoe_focus_policy: use E_CLIENT_HOOK_LOWER 59/297559/1
SooChan Lim [Thu, 17 Aug 2023 02:34:01 +0000 (11:34 +0900)]
e_focus_policy: use E_CLIENT_HOOK_LOWER

Use E_CLIENT_HOOK_LOWER instead of E_COMP_OBJECT_LOWER

Change-Id: I3a7ab46993cf0047cf306f198824413037364e59

10 months agoe_client: make E_CLIENT_HOOK_LOWER 58/297558/1
SooChan Lim [Thu, 17 Aug 2023 02:33:18 +0000 (11:33 +0900)]
e_client: make E_CLIENT_HOOK_LOWER

This is the e_client hook when e_client_lower is called.

Change-Id: Ibf4414138bc41c6b50f069b75d8731088ee1ea4d

10 months agoe_zone: create e_focus at only default zone. 57/297557/1
SooChan Lim [Thu, 17 Aug 2023 02:19:41 +0000 (11:19 +0900)]
e_zone: create e_focus at only default zone.

Create E_Focus at only default zone which the zone num is 0

Change-Id: I25200e6867c7d8d7dce55bf00bc0783c04c5acf5

10 months agoe_client: add REFACTOR_FOCUS_POLICY feature 56/297556/1
SooChan Lim [Thu, 10 Aug 2023 07:44:45 +0000 (16:44 +0900)]
e_client: add REFACTOR_FOCUS_POLICY feature

Change-Id: Id324a5f90334abafe1e610655b0a29fca6fb05c3

10 months agoe_info_server: modify the code following the focus_policy refactoring 55/297555/1
SooChan Lim [Thu, 10 Aug 2023 07:40:28 +0000 (16:40 +0900)]
e_info_server: modify the code following the focus_policy refactoring

Need to implement for support this winfo feature

Change-Id: I09e57ce0dd72289fd85626fc898ab54ed577b99f

10 months agoe_focus_policy_history: implement the update 54/297554/1
SooChan Lim [Thu, 10 Aug 2023 07:39:19 +0000 (16:39 +0900)]
e_focus_policy_history: implement the update

The implementation update the current updated ec.

Change-Id: I97f5fc69afc8694509131d2c4bb0006553d5bcc3

10 months agoe_focus_policy_topmost: implement the update 53/297553/1
SooChan Lim [Thu, 10 Aug 2023 07:37:01 +0000 (16:37 +0900)]
e_focus_policy_topmost: implement the update

The implementation update the current updated ec.

Change-Id: Icf9771c78406200e8e42197e432ace0b7e826b10

10 months agoe_focus_policy_history: implement stack_transient_for_done callback 52/297552/1
SooChan Lim [Thu, 10 Aug 2023 07:35:25 +0000 (16:35 +0900)]
e_focus_policy_history: implement stack_transient_for_done callback

Add the code at the hooks call of E_POLICY_HOOK_CLIENT_STACK_TRANSIENT_FOR_DONE.

Change-Id: I6767aa9cbb3cd3d1d0d965adde0c515f81424a08

10 months agoe_focus_policy_history: implement comp_object_hide callback 51/297551/1
SooChan Lim [Thu, 10 Aug 2023 07:32:04 +0000 (16:32 +0900)]
e_focus_policy_history: implement comp_object_hide callback

Add the code at the hooks call of E_COMP_OBJECT_HOOK_HIDE.

Change-Id: I4f9434ecee6b8fc64622e22a45bd54c00af0f608

10 months agoe_focus_policy_history: implement comp_object_show callback 50/297550/1
SooChan Lim [Thu, 10 Aug 2023 07:30:51 +0000 (16:30 +0900)]
e_focus_policy_history: implement comp_object_show callback

Add the code at the hooks call of E_COMP_OBJECT_HOOK_SHOW.

Change-Id: I942129cfcc6c939433010a92ac79567c66840ddd

10 months agoe_focus_policy_history: implement comp_object_move callback 49/297549/1
SooChan Lim [Thu, 10 Aug 2023 07:17:45 +0000 (16:17 +0900)]
e_focus_policy_history: implement comp_object_move callback

Add the code at the hooks call of E_COMP_OBJECT_HOOK_MOVE.

Change-Id: I68920f7072e4299afa893431107fe6cd470714d0

10 months agoe_focus_policy_topmost: implement comp_object_move callback 48/297548/1
SooChan Lim [Thu, 10 Aug 2023 07:17:09 +0000 (16:17 +0900)]
e_focus_policy_topmost: implement comp_object_move callback

Add the code at the hooks call of E_COMP_OBJECT_HOOK_MOVE.

Change-Id: I9e5af3f37aa1cae2056af1fef0200c6ddafbe69c

10 months agoe_focus_policy_history: implement comp_object_lower callback 47/297547/1
SooChan Lim [Thu, 10 Aug 2023 07:15:55 +0000 (16:15 +0900)]
e_focus_policy_history: implement comp_object_lower callback

Add the code at the hooks call of E_COMP_OBJECT_HOOK_LOWER.

Change-Id: I80d521ead175205a9942d9660263cbe9c4500b6c

10 months agoe_focus_policy_topmost: implement comp_object_lower callback 46/297546/1
SooChan Lim [Thu, 10 Aug 2023 07:14:13 +0000 (16:14 +0900)]
e_focus_policy_topmost: implement comp_object_lower callback

Add the code at the hooks call of E_COMP_OBJECT_HOOK_LOWER.

Change-Id: I576cde35c8ccf496f5d1b7b90e2066c21ab78402

10 months agoe_focus_policy_history: implement del callback 45/297545/1
SooChan Lim [Thu, 10 Aug 2023 06:31:21 +0000 (15:31 +0900)]
e_focus_policy_history: implement del callback

Add the code at the hooks call of E_CLIENT_HOOK_DEL.

Change-Id: Ie9bb186d45a59144672ad148079ec225c1e3b30d

10 months agoe_focus_policy_topmost: implement del callback 44/297544/1
SooChan Lim [Thu, 10 Aug 2023 07:06:04 +0000 (16:06 +0900)]
e_focus_policy_topmost: implement del callback

Add the code at the hooks call of E_CLIENT_HOOK_DEL.

Change-Id: I533616afa5d1e08ec60bbf94418f2398bf4bb322

10 months agoe_focus_policy_history: implement eval end callback 43/297543/1
SooChan Lim [Thu, 10 Aug 2023 06:35:21 +0000 (15:35 +0900)]
e_focus_policy_history: implement eval end callback

Add the code at the hooks call of E_CLIENT_HOOK_EVAL_END.

Change-Id: I0747157864efa1d4cb7f5c98a0ae479092ca5719

10 months agoe_focus_policy_topmost: implement eval end callback 42/297542/1
SooChan Lim [Thu, 10 Aug 2023 06:30:39 +0000 (15:30 +0900)]
e_focus_policy_topmost: implement eval end callback

Add the code at the hooks call of E_CLIENT_HOOK_EVAL_END.

Change-Id: I399ece79d3d43e4bf84d37f95d45d9037b9bb6ba

10 months agoe_focus_policy_history: implement activate_done callback 41/297541/1
SooChan Lim [Thu, 10 Aug 2023 07:26:02 +0000 (16:26 +0900)]
e_focus_policy_history: implement activate_done callback

Add the code at the hooks call of E_CLIENT_HOOK_ACTIVATE_DONE.

Change-Id: If9c4c629bfbb6f79a8ed856eb2c3b44e12ea1082

10 months agoe_focus_policy_history: implement focus_set/unset callback 40/297540/1
SooChan Lim [Thu, 10 Aug 2023 05:58:54 +0000 (14:58 +0900)]
e_focus_policy_history: implement focus_set/unset callback

Add the code at the hooks call of E_CLIENT_HOOK_FOCUS_SET/UNSET.

Change-Id: I3ef2aace90791b80d9487861682b44ff609d35fe

10 months agoe_focus_policy_history: implement focus_latest_set callback 39/297539/1
SooChan Lim [Thu, 10 Aug 2023 06:19:02 +0000 (15:19 +0900)]
e_focus_policy_history: implement focus_latest_set callback

Add the code at the hooks call of E_CLIENT_HOOK_FOCUS_LATEST_SET.

Change-Id: I63b03cf8d27375f99252ba7d29ca6b78ed53643f

10 months agoe_focus_policy_history: implement focus_defer_set callback 38/297538/1
SooChan Lim [Thu, 10 Aug 2023 06:12:31 +0000 (15:12 +0900)]
e_focus_policy_history: implement focus_defer_set callback

Add the code at the hooks call of E_CLIENT_HOOK_FOCUS_DEFER_SET.

Change-Id: I5aa43c0ac11a61709d5211b44a7c1e3243a26904

10 months agoe_focus_policy_topmost: implement focus_set/unset callback 37/297537/1
SooChan Lim [Thu, 10 Aug 2023 05:56:06 +0000 (14:56 +0900)]
e_focus_policy_topmost: implement focus_set/unset callback

Add the code at the hooks call of E_CLIENT_HOOK_FOCUS_SET/UNSET.

Change-Id: Ie9b4964174e4b1cb0c7d4ed9fd5492617b5e0de1

10 months agoe_focus_policy: implement E_ZONE_HOOK_FOCUS_CLEAR callback 36/297536/1
SooChan Lim [Thu, 10 Aug 2023 02:21:58 +0000 (11:21 +0900)]
e_focus_policy: implement E_ZONE_HOOK_FOCUS_CLEAR callback

Refcatoring focus policy.
The current focused ec is set to be null.

Change-Id: If5f5588226d26f9d988dcc50e5ee35263f37616f

10 months agoe_focus_policy_history: implement E_ZONE_HOOK_FOCUS_RESET callback 35/297535/1
SooChan Lim [Thu, 10 Aug 2023 02:12:20 +0000 (11:12 +0900)]
e_focus_policy_history: implement E_ZONE_HOOK_FOCUS_RESET callback

Refcatoring focus policy.
This callback implmentation replaces e_client_refocus() calls.
See the E_ZONE_HOOK_FOCUS_RESET hook call.

Change-Id: I8b8a907d8290d99526388ee31f25f8a0994b0545

10 months agoe_focus_policy: make a E_CLIENT_HOOK_ACTIVATE_DONE callback 34/297534/1
SooChan Lim [Thu, 10 Aug 2023 01:54:07 +0000 (10:54 +0900)]
e_focus_policy: make a E_CLIENT_HOOK_ACTIVATE_DONE callback

The focus may be changed at E_CLIENT_HOOK_ACTIVATE_DONE callback.

Change-Id: Idc19863ecd4041c193553a54bb90279c7e9a16f7

10 months agoe_focus_policy: make a E_CLIENT_HOOK_FOCUS_LATEST_SET callback 33/297533/1
SooChan Lim [Thu, 10 Aug 2023 01:49:40 +0000 (10:49 +0900)]
e_focus_policy: make a E_CLIENT_HOOK_FOCUS_LATEST_SET callback

The focus may be changed at E_CLIENT_HOOK_FOCUS_LATEST_SET callback.

Change-Id: I7330df445d46363470d377f3546bb6f92851fb22

10 months agoe_focus_policy: make a E_CLIENT_HOOK_FOCUS_DEFER_SET callback 32/297532/1
SooChan Lim [Thu, 10 Aug 2023 01:47:24 +0000 (10:47 +0900)]
e_focus_policy: make a E_CLIENT_HOOK_FOCUS_DEFER_SET callback

The focus may be changed at E_CLIENT_HOOK_FOCUS_DEFER_SET callback.

Change-Id: I3bfd75102f58f66017fca51eaf3dc7fdf7e48015

10 months agoe_focus_policy: make a E_CLIENT_HOOK_EVAL_END callback 31/297531/1
SooChan Lim [Thu, 10 Aug 2023 01:23:09 +0000 (10:23 +0900)]
e_focus_policy: make a E_CLIENT_HOOK_EVAL_END callback

The focus may be changed at E_CLIENT_HOOK_EVAL_END callback.

Change-Id: I578fae83cb52b579d87239bac4e27d6ed6426b17

10 months agoe_focus_policy: make a E_CLIENT_HOOK_FOCUS_UNSET callback 30/297530/1
SooChan Lim [Thu, 10 Aug 2023 01:07:32 +0000 (10:07 +0900)]
e_focus_policy: make a E_CLIENT_HOOK_FOCUS_UNSET callback

The focus may be changed at E_CLIENT_HOOK_FOCUS_UNSET callback.

Change-Id: I308974522a7fcc91dea7cda1c36a3b4d61e1a4b4

10 months agoe_focus_policy_history: make a E_POLICY_HOOK_CLIENT_STACK_TRANSIENT_FOR_DONE callback 29/297529/1
SooChan Lim [Thu, 10 Aug 2023 00:58:14 +0000 (09:58 +0900)]
e_focus_policy_history: make a E_POLICY_HOOK_CLIENT_STACK_TRANSIENT_FOR_DONE callback

The focus may be changed at E_POLICY_HOOK_CLIENT_STACK_TRANSIENT_FOR_DONE callback.

Change-Id: I19b29de877dd66fcd62e1d73ecc1b410424d8ad8

10 months agoe_focus_policy_history: make a E_ZONE_HOOK_FOCUS_RESET callback 28/297528/1
SooChan Lim [Thu, 10 Aug 2023 00:54:36 +0000 (09:54 +0900)]
e_focus_policy_history: make a E_ZONE_HOOK_FOCUS_RESET callback

The focus may be changed at E_ZONE_HOOK_FOCUS_RESET callback.

Change-Id: Ifcea814b689c5b519fa12c9d3a4b691ae4e6b8d2

10 months agoe_focus_policy: make a E_ZONE_HOOK_FOCUS_CLEAR callback 27/297527/1
SooChan Lim [Thu, 10 Aug 2023 00:51:26 +0000 (09:51 +0900)]
e_focus_policy: make a E_ZONE_HOOK_FOCUS_CLEAR callback

The focus may be changed at E_ZONE_HOOK_FOCUS_CLEAR callback.

Change-Id: I2ec7e4c15579fd14865fa28066e83c6e59c7f9e2

10 months agoe_focus_policy: make a E_CLIENT_HOOK_DEL callback 26/297526/1
SooChan Lim [Thu, 10 Aug 2023 00:38:07 +0000 (09:38 +0900)]
e_focus_policy: make a E_CLIENT_HOOK_DEL callback

The focus may be changed at E_CLIENT_HOOK_DEL callback.

Change-Id: I73ce47a7309fe515551d87db9c5efc641762a465

10 months agoe_focus_policy: make a E_CLIENT_HOOK_FOCUS_SET callback 25/297525/1
SooChan Lim [Thu, 10 Aug 2023 00:31:12 +0000 (09:31 +0900)]
e_focus_policy: make a E_CLIENT_HOOK_FOCUS_SET callback

The focus may be changed at E_CLIENT_HOOK_FOCUS_SET callback.

Change-Id: Ic3ffe1be6a211292313abc0d1168df9a5f3755ce

10 months agoe_focus_policy_history: make a E_COMP_OBJECT_HOOK_HIDE callback 24/297524/1
SooChan Lim [Thu, 10 Aug 2023 00:24:33 +0000 (09:24 +0900)]
e_focus_policy_history: make a E_COMP_OBJECT_HOOK_HIDE callback

The focus may be changed at E_COMP_OBJECT_HOOK_HIDE callback.

Change-Id: I02cfaf4b233c08e0dd786c8ee5d8400c21e9c947

10 months agoe_focus_policy_history: make a E_COMP_OBJECT_HOOK_SHOW callback 23/297523/1
SooChan Lim [Thu, 10 Aug 2023 00:20:06 +0000 (09:20 +0900)]
e_focus_policy_history: make a E_COMP_OBJECT_HOOK_SHOW callback

The focus may be changed at E_COMP_OBJECT_HOOK_SHOW callback.

Change-Id: Ia198bfd048874c38141e8a29903aec1fcf0fe7e1

10 months agoe_focus_policy: make a E_COMP_OBJECT_HOOK_MOVE callback 22/297522/1
SooChan Lim [Thu, 10 Aug 2023 00:07:42 +0000 (09:07 +0900)]
e_focus_policy: make a E_COMP_OBJECT_HOOK_MOVE callback

The focus may be changed at E_COMP_OBJECT_HOOK_MOVE callback.

Change-Id: I9fe6e2d54a89c022850d5adaf5ea0c006454a064

10 months agoe_focus_policy: make a E_COMP_OBJECT_HOOK_LOWER callback 21/297521/1
SooChan Lim [Wed, 9 Aug 2023 23:58:38 +0000 (08:58 +0900)]
e_focus_policy: make a E_COMP_OBJECT_HOOK_LOWER callback

The focus may be changed at E_COMP_OBJECT_HOOK_LOWER callback.

Change-Id: Ib49b0c6c183d0da96c5553c5babf8723df086ec8

10 months agoe_focus_policy: add focused_ec_mutex 20/297520/1
SooChan Lim [Wed, 9 Aug 2023 11:22:00 +0000 (20:22 +0900)]
e_focus_policy: add focused_ec_mutex

Each implementation has a focused_ec_mutex variable.

Change-Id: I89e5e5300df6ae1bcc78f0a8bcc7573a0a88e8db

10 months agoe_focus: use the new e_focus apis 19/297519/1
SooChan Lim [Wed, 9 Aug 2023 11:09:22 +0000 (20:09 +0900)]
e_focus: use the new e_focus apis

This code is diabled and is not working now.
The implementations of E_Focus_Policy_Iface is needed for working.

Change-Id: I23127c173ec667ada8920b757c7081c29c86a484

10 months agoe_focus_policy: implement the E_CLIENT_HOOK_MOUSE_IN/OUT/DOWN callback. 18/297518/1
SooChan Lim [Wed, 9 Aug 2023 11:58:37 +0000 (20:58 +0900)]
e_focus_policy: implement the E_CLIENT_HOOK_MOUSE_IN/OUT/DOWN callback.

Thease replace the e_focus_event_mouse funtions below.
e_focus_mouse_in()
e_focus_mouse_out()
e_focus_mouse_down()

Change-Id: I7aade8ea35bdaf97deaa1c329fa556ee5b1df8f6

10 months agoe_focus: Add the skeleton code for refactoring the focus policy 17/297517/1
SooChan Lim [Wed, 9 Aug 2023 10:47:57 +0000 (19:47 +0900)]
e_focus: Add the skeleton code for refactoring the focus policy

This is the first skeleton code for the focus policy refactoring.
The structure of the class diagram is below.

E_Focus --(has)--> E_Focus_Policy_Iface  <|----(Implmentation)-- E_Focus_Policy_Topmost
                                            |
                                            |--(Implmentation)-- E_Focus_Policy_History

All the code for refatoring is diabled with defining the REFACTOR_FOCUS_POLIY feature.

Change-Id: Ia0d18599c53068f1bd68ae5019cf1a489c0bd1e8

10 months agoe_service_taskbar: move window when the taskbar change the size or place type 00/297500/1
Doyoun Kang [Mon, 21 Aug 2023 02:25:14 +0000 (11:25 +0900)]
e_service_taskbar: move window when the taskbar change the size or place type

Change-Id: I5965f9f4ffcbef42ac49e79fd61bf18efa028926

10 months agoe_comp: expose e_comp_zone_find_by_ec() function 48/297448/1 accepted/tizen/unified/20230821.032724
SooChan Lim [Fri, 18 Aug 2023 09:40:36 +0000 (18:40 +0900)]
e_comp: expose e_comp_zone_find_by_ec() function

E20 module has to use e_comp_zone_find_by_ec() function
in order to remove the use of ec->zone.
The zone variable will be deprecated, therefore E20 module
has to remove ec->zone at its code.

Change-Id: I587699f36c4630af0ec0105aba585c3691481edf

10 months agoe_input: fix issue not to handle key event in emulator 31/297431/1 accepted/tizen/unified/20230821.103306
Jihoon Kim [Fri, 18 Aug 2023 05:03:23 +0000 (14:03 +0900)]
e_input: fix issue not to handle key event in emulator

Change-Id: I7302a798d57a032a6c64e812591b74da76a018ce
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
10 months agoe_comp_wl: No need to check client is focused before relative motion send
Junseok Kim [Thu, 17 Aug 2023 12:23:11 +0000 (21:23 +0900)]
e_comp_wl: No need to check client is focused before relative motion send

Change-Id: Id70a8164a8eb317e25f4059ddc95ce2aacaebf3e

10 months agoe_client: use surface-local coordinate to check input rect of the client
Junseok Kim [Thu, 17 Aug 2023 06:08:43 +0000 (15:08 +0900)]
e_client: use surface-local coordinate to check input rect of the client

There was a bug that input rect didn't fit with partial sized surface.
It's caused by the position checker consider as local coordinate of the client to absolute coordinate.
To correct this bug, consider the position of the client to use surface-local coordinate.

Change-Id: I0f98c5ada983af2dac919467b5e899aaca401e4b

10 months agoe_comp_wl: do not send data device send enter/leave on evas mouse in/out callback
Junseok Kim [Thu, 10 Aug 2023 05:44:31 +0000 (14:44 +0900)]
e_comp_wl: do not send data device send enter/leave on evas mouse in/out callback

The wl_data_device_send_enter/leave is called in ecore_mouse_move callback.
For consistency of the drag and drop, remove wl_data_device_send_enter from the evas mouse callback

Change-Id: I0c072b52c67196a4d5286ba2a0379a4d1db90277

10 months agoe_service_kvm: rename res_srv_mc to srv_kvm_res
Junseok Kim [Wed, 9 Aug 2023 02:58:52 +0000 (11:58 +0900)]
e_service_kvm: rename res_srv_mc to srv_kvm_res

Change-Id: Ic6ee2190649a6d24d2c2919d2cdd9c258b1752b4

10 months agoe_service_kvm: Add kvm layer and adjust to kvm client
Junseok Kim [Mon, 31 Jul 2023 06:45:34 +0000 (15:45 +0900)]
e_service_kvm: Add kvm layer and adjust to kvm client

Change-Id: I156fae9d1ad0d218c3c19fa17f3df62fb71579b8

10 months agoe_comp_wl: Don't use uninitialized value
Seunghun Lee [Thu, 17 Aug 2023 01:31:23 +0000 (10:31 +0900)]
e_comp_wl: Don't use uninitialized value

The uninitialized 'name' variable could be used if fopen() in
_e_comp_wl_pname_get() is failed.

Change-Id: Ib6d874481ab52483369784d7d8799311f01a0b9c

11 months agoe_input: fix key input not working issue 51/297351/1
Inhong Han [Wed, 16 Aug 2023 11:54:57 +0000 (20:54 +0900)]
e_input: fix key input not working issue

If keyrouter is initialized first because input thread is running late,
key event will not be added to input_event_handler.

Change-Id: If5105b631798d42367e9e57de88e4ced5a4c35ea

11 months agoe_keyrouter: check validation of key when unsetting keygrab 39/297339/1 accepted/tizen/unified/20230818.054611
duna.oh [Wed, 16 Aug 2023 10:56:27 +0000 (19:56 +0900)]
e_keyrouter: check validation of key when unsetting keygrab

Change-Id: Ibe190b58eee3b85da41f6d689aee8712884ac721

11 months agoe_hwc_window: remove calling e_comp_zone_find_by_ec 94/297294/2
Changyeon Lee [Fri, 11 Aug 2023 10:34:07 +0000 (19:34 +0900)]
e_hwc_window: remove calling e_comp_zone_find_by_ec

Change-Id: I709e22d8408dbacbf967dce3d57b6cdeaa0635b3

11 months agoe_hwc_window: clean up _e_hwc_window_free 93/297293/2
Changyeon Lee [Wed, 16 Aug 2023 07:42:40 +0000 (16:42 +0900)]
e_hwc_window: clean up _e_hwc_window_free

remove unnecessary checking null and goto

Change-Id: Ib490361e875bf30b614e3959952cb51a7d04589a

11 months agoe_focus: add code to call e_client_focus_defer_set in mouse down callback 89/297289/1
Doyoun Kang [Wed, 16 Aug 2023 08:14:53 +0000 (17:14 +0900)]
e_focus: add code to call e_client_focus_defer_set in mouse down callback

There is bug that the child window can not get focus when the mouse down event is occured.
In mouse down callback, the window get focus first.

If the window is child and it set the belong_to_parent property to the parent, then the
parent will be raised. The parent window is added to the defer_focus_stack in intercept_raise
callback function.
And finally, the parent window gets the focus by defer_focus policy.

To resolve this problem, we add code that e calls e_client_focus_defer_set for the child window.

Change-Id: I96dd830115213bb93787b1e00fe83e1ca052184c

11 months agoe_focus: raise parent window in mouse down callback 88/297288/1
Doyoun Kang [Wed, 16 Aug 2023 08:09:43 +0000 (17:09 +0900)]
e_focus: raise parent window in mouse down callback

We add code to raise the parent window when the mouse down event is occured on below cases.
- the "always_click_to_raise" config is enabled.
- the parent and child makes its relationship as belong_to_parent property

Change-Id: Ic91e15932d534c49cdf19f60f2ab0ba0844ea5fc

11 months agoe_comp_wl_input: Add null check 56/297256/1
Jihoon Kim [Wed, 16 Aug 2023 01:49:58 +0000 (10:49 +0900)]
e_comp_wl_input: Add null check

e_client_from_surface_resource can return NULL

Change-Id: I6575d354da0d1759449e0a33391ba91fb67b90e3
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
11 months agocompositor: Disconnect link of request_move on destroy 23/297223/1
Seunghun Lee [Mon, 14 Aug 2023 05:36:48 +0000 (14:36 +0900)]
compositor: Disconnect link of request_move on destroy

Change-Id: I8ac47c3e1add61364e835a18df2eb31a20f0ebc0

11 months agoe_comp_wl: Enable log messages of libds 22/297222/1
Seunghun Lee [Tue, 8 Aug 2023 05:17:46 +0000 (14:17 +0900)]
e_comp_wl: Enable log messages of libds

It redirects log messages of libds to enlightenment log system.
Let the intial log level of libds be DS_DBG so that it can be printed
depending on enlightenment's log level.

Change-Id: I8ee125c7285f38b74feae04f951b2587b876960e

11 months agoe_client/e_zone: support iconified_type for iconify by parent 64/297164/1 accepted/tizen/unified/20230816.170056
Doyoun Kang [Thu, 10 Aug 2023 08:08:00 +0000 (17:08 +0900)]
e_client/e_zone: support iconified_type for iconify by parent

We add a new iconified type - E_ICONIFIED_TYPE_PARENT_ICONIFY_BY_CLIENT.
If the transient parent is iconified by client request, then the children are
iconified also and the iconified_type is set to this type.

FYI, however, if the transient parent is iconified by visibility, then the
children are not iconified.

Change-Id: I3afa825bfe3e8cc566519928e3d9d78423a67671

11 months agoe_policy: add EINTERN e_policy_client_iconic_state_change_send 63/297163/1
Doyoun Kang [Thu, 10 Aug 2023 08:00:17 +0000 (17:00 +0900)]
e_policy: add EINTERN e_policy_client_iconic_state_change_send

Change-Id: Ieebf8a1c415f0b0e37bc9df3087a4fa8b3afa82a

11 months agoe_comp_object: remove unnecessary critical log 90/297090/2
Changyeon Lee [Wed, 9 Aug 2023 09:13:15 +0000 (18:13 +0900)]
e_comp_object: remove unnecessary critical log

hwc should be able to  update the comp object even if
ec is deleted (wl_surface is deleted) because
the comp object can be shown.

Change-Id: If35a311cedebaccc3070fc0f07333033b6b92223

11 months agoe_client: add e_client_intercept_hook_focus_revert_call signature 88/297088/1
SooChan Lim [Thu, 10 Aug 2023 05:22:58 +0000 (14:22 +0900)]
e_client: add e_client_intercept_hook_focus_revert_call signature

Change-Id: Iedcab6333fb8c37aa39776c0e2c9c2c16eb9f202

11 months agoe_client: change some static functions to EINTERN functions 84/297084/1
SooChan Lim [Wed, 9 Aug 2023 23:34:21 +0000 (08:34 +0900)]
e_client: change some static functions to EINTERN functions

These functions will be needed by refactoring the focus policy.

Change-Id: I3eca54504dc2748b37dde0f815f9a17b6dbe8214

11 months agoRevert "Use wl_signal_emit_mutable()" 52/297052/1 accepted/tizen/unified/20230814.121011
Seunghun Lee [Wed, 9 Aug 2023 10:29:40 +0000 (19:29 +0900)]
Revert "Use wl_signal_emit_mutable()"

The call to wl_signal_emit_mutable() causes some memory issue for some
reason, so this reverts commit 499af4f07e8119645f5df18a4d62d02b700935c3.

Change-Id: I624c94042f6e11699c41403b04e738a33163988d

11 months agocompositor: Fix memory corruption 47/297047/1
Seunghun Lee [Wed, 9 Aug 2023 09:40:11 +0000 (18:40 +0900)]
compositor: Fix memory corruption

Calling wl_list_remove(sub->parent_surface_destroy.link) in
_e_subsurface_destroy() caused memory corruption, if it is called after
the destruction of parent surface.

Change-Id: Ifb0ee675554d13c93aed2e2c438c8a43f2d347e1

11 months agoe_input: fix build warning 21/297021/2
Jihoon Kim [Wed, 9 Aug 2023 03:26:57 +0000 (12:26 +0900)]
e_input: fix build warning

Change-Id: I7f2a00413381f2e7f8cf40fd3261aecf5da531b1
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
11 months agoe_desk: remove unused variable 19/297019/1
Junseok Kim [Wed, 9 Aug 2023 02:40:21 +0000 (11:40 +0900)]
e_desk: remove unused variable

Change-Id: I61df571af756420398aee787cacd3c998acec04b

11 months agoe_policy_visibility: add checking geometry while checking obscured by children 16/297016/2
Doyoun Kang [Wed, 9 Aug 2023 01:53:55 +0000 (10:53 +0900)]
e_policy_visibility: add checking geometry while checking obscured by children

Change-Id: I42d692c1ab953e8e3199a08981f3165249fe8715

11 months agoe_policy_wl: bug fix for activate_above request 12/297012/1
Doyoun Kang [Tue, 8 Aug 2023 09:36:27 +0000 (18:36 +0900)]
e_policy_wl: bug fix for activate_above request

When a transient_below child requests to activate above its parent,
then e doesn't allow this request.

Change-Id: Ieb56f9364ce86bd42c69954a49e47f757eaf2fa4

11 months agoe_comp: move position of the E_LAYER_CLIENT_DRAG to right below of the cursor 84/296984/2
Junseok Kim [Tue, 8 Aug 2023 06:27:20 +0000 (15:27 +0900)]
e_comp: move position of the E_LAYER_CLIENT_DRAG to right below of the cursor

Change-Id: I2df2e7bea5d81e47c0752172ed9c4f92b92420a4

11 months agoe_comp_wl: correct position of the drag window 83/296983/2
Junseok Kim [Tue, 8 Aug 2023 06:21:20 +0000 (15:21 +0900)]
e_comp_wl: correct position of the drag window

the x, y is relative position of the window under pointer.
and the ev->x, ev->y is absolute position of the screen.
the drag window have to position to absolute position, not to relative position.

Change-Id: Ic9fd3414e2bf890f18ccd8afbc49f8e72753f1e3

11 months agoe_client: remove the use of e_config->focus_setting 64/296964/1
SooChan Lim [Tue, 8 Aug 2023 04:12:23 +0000 (13:12 +0900)]
e_client: remove the use of e_config->focus_setting

The e_config->focus_setting is awlays 1 which is
E_FOCUS_NEW_WINDOW, so it is useless.

Change-Id: Id3bc8ff3d802ea16cbfefd0f78cbcd8721bc5c76

11 months agoe_client: remove e_client_focus_track functions 62/296962/1 accepted/tizen/unified/20230808.170209
Junseok Kim [Fri, 4 Aug 2023 06:52:41 +0000 (15:52 +0900)]
e_client: remove e_client_focus_track functions

There're no call of the e_client_focus_track_freeze and e_client_focus_track_thaw.
So, the e_client_focus_track functions and variables are not necessary.

Change-Id: I4765e12c857ca36155e0d414f01087f0c9bac56f

11 months agoe_desk: remove focus set logic from desk show animation 61/296961/1
Junseok Kim [Fri, 4 Aug 2023 06:35:57 +0000 (15:35 +0900)]
e_desk: remove focus set logic from desk show animation

Remove focus setting logic from desk showing animation.
It's not necessary to current focus logic both of Topmost and Focus history.

Change-Id: Ia8bb3e271f0741fb7eda2273bcdc3ac10d0851dc