platform/upstream/enlightenment.git
10 months agoe_zone: implement the desk setting policy at E_CLIENT_HOOK_FOCUS_SET callback 05/298205/1
SooChan Lim [Fri, 25 Aug 2023 07:10:35 +0000 (16:10 +0900)]
e_zone: implement the desk setting policy at E_CLIENT_HOOK_FOCUS_SET callback

Move the code from e_client to E_CLIENT_HOOK_FOCUS_SET callback at e_zone

Change-Id: I1b0ef361107fca5c2be03f19f1e856369e729098

10 months agoe_policy: use E_DESK_HOOK_CLIENT_ADD 04/298204/1
SooChan Lim [Fri, 25 Aug 2023 04:59:07 +0000 (13:59 +0900)]
e_policy: use E_DESK_HOOK_CLIENT_ADD

E_CLIENT_HOOK_DESK_SET will be deprecated, so use E_DESK_HOOK_CLIENT_ADD
instead of it.

Change-Id: Ib7ee7bee096da51517f94e87b43f9a2038d5f630

10 months agoe: add E_DESK_HOOK_APPEND macro 03/298203/1
SooChan Lim [Fri, 25 Aug 2023 04:58:22 +0000 (13:58 +0900)]
e: add E_DESK_HOOK_APPEND macro

Change-Id: I29ad2486252e2f1646ce1817e31f66fac8e64772

10 months agoe_desk: add E_DESK_HOOK_CLIENT_ADD 02/298202/1
SooChan Lim [Fri, 25 Aug 2023 05:06:41 +0000 (14:06 +0900)]
e_desk: add E_DESK_HOOK_CLIENT_ADD

This hook is called when the e_client adds to the e_desk.

Change-Id: If7d92118809e1255b0f0a4c74ba3a581d08d7e78

10 months agoe_zone: make a E_CLIENT_HOOK_EVAL_POST_NEW_CLIENT callback 01/298201/1
SooChan Lim [Fri, 25 Aug 2023 02:07:12 +0000 (11:07 +0900)]
e_zone: make a E_CLIENT_HOOK_EVAL_POST_NEW_CLIENT callback

E_Zone deals with the zone policy at the time of evaluating e_client
at the E_CLIENT_HOOK_EVAL_POST_NEW_CLIENT callback.

Change-Id: I4ac838a735742cf20aaa5e66e54d511ccf8277b7

10 months agoe_zone: make a E_CLIENT_HOOK_NEW_CLIENT_POST callback 00/298200/1
SooChan Lim [Thu, 24 Aug 2023 23:43:25 +0000 (08:43 +0900)]
e_zone: make a E_CLIENT_HOOK_NEW_CLIENT_POST callback

E_Zone add a E_Client at creation of it in the E_CLIENT_HOOK_NEW_CLIENT_POST callback.

Change-Id: I4c580774ab973cbf98ec9868d626883c8f6b13bc

10 months agoe_zone: make ec_hooks list 99/298199/1
SooChan Lim [Thu, 24 Aug 2023 23:25:11 +0000 (08:25 +0900)]
e_zone: make ec_hooks list

e_zone has more client hooks from now on.

Change-Id: I8e8ebc916a45f1b1e6209836c1c73608d7d8e1ea

10 months agoe_desk: use _e_desk_smart_client_add function directly 98/298198/1
SooChan Lim [Fri, 25 Aug 2023 08:26:57 +0000 (17:26 +0900)]
e_desk: use _e_desk_smart_client_add function directly

instead of the use of e_desk_client_add.

Change-Id: I45a010e024e3eb2649716fd06e09ee7f1e66b823

10 months agoe_info_server: use e_zone_client_add function 97/298197/1
SooChan Lim [Fri, 25 Aug 2023 08:21:10 +0000 (17:21 +0900)]
e_info_server: use e_zone_client_add function

intead of e_client_desk_set function because this is the setting zone,
not the setting desk.

Change-Id: Idb0af96d545192f6ddb862201b077be30c086590

10 months agoe_client: remove the _e_client_zone_update function 96/298196/1
SooChan Lim [Fri, 25 Aug 2023 02:19:07 +0000 (11:19 +0900)]
e_client: remove the  _e_client_zone_update function

There is not multi-zone policy right now, so this function is not used
right now.

Change-Id: I18e408934834e07616242a5de7f38dd9383efa44

10 months agoe_comp_canvas: remove the unused code 95/298195/1
SooChan Lim [Fri, 25 Aug 2023 02:15:39 +0000 (11:15 +0900)]
e_comp_canvas: remove the unused code

There is no rule for reassignment of e_clients to the zone.
At this moment, e_client assigns the current zone, so this
code is unused.

Change-Id: Ie4ce62785f41787831bdaa4b20390ade65c905c2

10 months agoe_info_server: Fix memory leak of reply 28/298128/1
Junseok Kim [Thu, 31 Aug 2023 11:59:12 +0000 (20:59 +0900)]
e_info_server: Fix memory leak of reply

Change-Id: I852db5ebf4ad67b126f2ddabdafc16a621e8e59f

10 months agoe_comp_wl: Add NULL check of return value of e_comp_wl_client_surface_get 27/298127/1
Junseok Kim [Thu, 31 Aug 2023 11:28:08 +0000 (20:28 +0900)]
e_comp_wl: Add NULL check of return value of e_comp_wl_client_surface_get

Change-Id: I4c50fe69acd46996999cf0f3a04cc13497b29697

10 months agoe_input_evdev: Fix input device memory leak 21/298121/2
Jihoon Kim [Wed, 16 Aug 2023 00:51:45 +0000 (09:51 +0900)]
e_input_evdev: Fix input device memory leak

Change-Id: I4008283ab6f7da793b0e3f95d83e151194aa4443
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
10 months agoe_device: Fix E_Device memory leak 20/298120/2
Inhong Han [Fri, 1 Sep 2023 01:57:22 +0000 (10:57 +0900)]
e_device: Fix E_Device memory leak

Change-Id: Ic149cb4ae9e3eddbf48dbbf8ee28f47eb46624e3

10 months agoe_keyrouter: add missing keygrab mutex 13/298113/2
Jihoon Kim [Thu, 31 Aug 2023 00:42:32 +0000 (09:42 +0900)]
e_keyrouter: add missing keygrab mutex

Change-Id: I068c75900ccbf6d3ff4d50c7d3456a870183985d
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
10 months agoe_service_kvm: ungrab input before drag start 64/298064/3
Junseok Kim [Thu, 31 Aug 2023 00:05:29 +0000 (09:05 +0900)]
e_service_kvm: ungrab input before drag start

Change-Id: Ieb55196b70ba00a94eaea716338761eb72515283

10 months agoe_comp_wl_data: add NULL check of e_comp_wl_client_surface_get() 94/298094/1
Jihoon Kim [Thu, 31 Aug 2023 06:00:58 +0000 (15:00 +0900)]
e_comp_wl_data: add NULL check of e_comp_wl_client_surface_get()

Change-Id: I03ec6336fc93de82773823b5e1e5ea61a7f5198f
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
10 months agoe_compositor: Fix crash when access null pointer 72/298072/1
Seunghun Lee [Thu, 31 Aug 2023 02:18:02 +0000 (11:18 +0900)]
e_compositor: Fix crash when access null pointer

The return value of ds_subsurface_from_resource() can be null if given
subsurface resource is inert by the parent surface destroyed.

Change-Id: I56c5974e56c6c32fba0599aec97229cad4598544

10 months agoe_comp_wl: fix missing lock issue detected by static analysis tool 61/298061/1
Jihoon Kim [Thu, 31 Aug 2023 01:00:03 +0000 (10:00 +0900)]
e_comp_wl: fix missing lock issue detected by static analysis tool

Change-Id: I3a464db01d0bb9c28f8b58079b128588b8a47c93
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
10 months agoe_info: Add option to control transparent of the kvm service 57/298057/2
Junseok Kim [Wed, 30 Aug 2023 05:29:58 +0000 (14:29 +0900)]
e_info: Add option to control transparent of the kvm service

Change-Id: I1889e783a441314948165b96941fd540263c9112

10 months agoe_service_kvm: set transparent the kvm service frame 56/298056/2
Junseok Kim [Wed, 30 Aug 2023 05:29:18 +0000 (14:29 +0900)]
e_service_kvm: set transparent the kvm service frame

Change-Id: I49fe84c7570aeb63c315f2f264901ffe1645aacd

10 months agoe_comp_wl_data: Send initial drag enter to pointer under E_Client 55/298055/1
Junseok Kim [Wed, 30 Aug 2023 04:30:34 +0000 (13:30 +0900)]
e_comp_wl_data: Send initial drag enter to pointer under E_Client

The drag and drop can start by start_drag request even if the client isn't e_comp_wl->ptr.ec.
To make the logic of initial dragging and during dragging,
Send initial drag enter to pointer under E_Client instead of e_comp_wl->ptr.ec.

Change-Id: I2acdde35b50f6b45952abe8518047a6e5eb324e2

10 months agoe_client: remove unused variables 54/298054/1
Jihoon Kim [Wed, 30 Aug 2023 23:09:48 +0000 (08:09 +0900)]
e_client: remove unused variables

Change-Id: Ibce13c27a9908b67d0f6e95b80185c1fa17e8b9e
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
10 months agoFix keygrab topposition testcase fail issue 52/298052/1
Jihoon Kim [Wed, 30 Aug 2023 12:04:49 +0000 (21:04 +0900)]
Fix keygrab topposition testcase fail issue

Change-Id: I9743db3b39ee0ac4eec5f0312fd61a9d262ea70d
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
10 months agoe_client: remove code moving child to center of parent 37/298037/1
Doyoun Kang [Wed, 30 Aug 2023 09:32:38 +0000 (18:32 +0900)]
e_client: remove code moving child to center of parent

Change-Id: I49b659bb27604c421938b155db824ceeeb1f6218

10 months agoe_comp_wl_tizen_hwc: remove unused variable 29/298029/1
Changyeon Lee [Wed, 30 Aug 2023 05:13:38 +0000 (14:13 +0900)]
e_comp_wl_tizen_hwc: remove unused variable

Change-Id: Idfe892f77e7b1e0b5945d73c555eb5411357d5a0

10 months agoe_input: process input event asynchronously 10/298010/1 accepted/tizen/unified/20230830.170623
Jihoon Kim [Wed, 30 Aug 2023 04:34:19 +0000 (13:34 +0900)]
e_input: process input event asynchronously

Fix issue not to process input event generated by e_input_event_add() immediately

Change-Id: Ia8db46affe0593ac71a63fd5d3d695e1e7c14c7d
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
10 months agoe_client: use e_comp_focused_ec_get 99/297999/1
SooChan Lim [Tue, 29 Aug 2023 23:09:51 +0000 (08:09 +0900)]
e_client: use e_comp_focused_ec_get

The focused ec is only one right now, so get the focused ec
using e_comp_focused_ec_get.

Change-Id: I0c32dc20ab080efcc0c0528ca6ec73160ccee305

10 months agoe_comp: add e_comp_focused_ec_get function 98/297998/1
SooChan Lim [Tue, 29 Aug 2023 11:17:47 +0000 (20:17 +0900)]
e_comp: add e_comp_focused_ec_get function

e20 compositor support only one focused_ec,
therefore find the focused_ec from the zone and return it

Change-Id: I9e758ac57f0b550db3aa94e81681ca41dba2c2cc

10 months agoRevert"e_input: Fix issue not to process additional key event" 97/297997/2
Inhong Han [Tue, 29 Aug 2023 12:17:05 +0000 (21:17 +0900)]
Revert"e_input: Fix issue not to process additional key event"

Change-Id: I4b5b29472380da6bcef2cb6cc00524328df7db57

10 months agoe_pixmap: Remove dead code 96/297996/1
Seunghun Lee [Tue, 29 Aug 2023 08:42:24 +0000 (17:42 +0900)]
e_pixmap: Remove dead code

Change-Id: I6fe538c417e24caa8230237752e26a20d5c8d95e

10 months agoe_comp_wl_tizen_hwc: fix sending discard feedback when client is first shown 71/297971/1
Changyeon Lee [Tue, 29 Aug 2023 07:40:55 +0000 (16:40 +0900)]
e_comp_wl_tizen_hwc: fix sending discard feedback when client is first shown

Change-Id: If47a137952508d19d01e30c9c04b5a86b98d964d

10 months agoe_service_taskbar: support auto_placement request 32/297932/2
Doyoun Kang [Mon, 28 Aug 2023 12:01:13 +0000 (21:01 +0900)]
e_service_taskbar: support auto_placement request

Change-Id: I1625e3c5050180c075e54d05b793c57af42adab4

10 months agoe_keyrouter: apply thread synchronization for key grab variables 28/297928/2
Jihoon Kim [Thu, 24 Aug 2023 02:34:30 +0000 (11:34 +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: Idcd48a2e0b75ac53beb848d1b6de3996a68e6c89
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
10 months agoe_comp_wl: update pointer's position when mouse_in 25/297925/1
duna.oh [Mon, 28 Aug 2023 23:41:14 +0000 (08:41 +0900)]
e_comp_wl: update pointer's position when mouse_in

Mouse_In events are sent before Mouse_Move events.
This commit is to update pointer's position(ptr.x/y) when Mouse_In cb.

There was a bug that E20 decided whether pointer's position is inside
of a client(or region) in Mouse_In cb and it failed since position is not
updated yet in Mouse_In cb.

Change-Id: I63136fcb83a32e599bacc6a74b3efd8540a6d8bb

10 months agoe_dnd: Add e_drag_end variable for drag cancel 12/297912/1 accepted/tizen/unified/20230829.181405
Junseok Kim [Thu, 10 Aug 2023 09:07:36 +0000 (18:07 +0900)]
e_dnd: Add e_drag_end variable for drag cancel

Change-Id: Ie88cda09524b707f02b2f986187f716e88229f2e

10 months agoe_service_kvm: Add ane implements new APIs for kvm service 11/297911/1
Junseok Kim [Wed, 9 Aug 2023 03:00:10 +0000 (12:00 +0900)]
e_service_kvm: Add ane implements new APIs for kvm service

Add new APIs
- cancel_drag: cancel current drag without data sharing
- force_drag_enter: force enter the drag into the kvm service window
- force_drag_leave: force leave the drag from the kvm service window
- receive_drag_data: receive drag data during keep dragging

Change-Id: Ib1857dbbff93282db5865fd886ab59a7957c52bd

10 months agoe_zone: add e_zone_desk_find_by_ec 37/297837/1
SooChan Lim [Thu, 24 Aug 2023 10:35:14 +0000 (19:35 +0900)]
e_zone: add e_zone_desk_find_by_ec

This function find a desk which has the given ec in the zone

Change-Id: I9f6ea5cdabf53f8e6602db75279b12fba964dc6c

10 months agoe_desk: make e_desk_has_ec 36/297836/1
SooChan Lim [Thu, 24 Aug 2023 10:03:41 +0000 (19:03 +0900)]
e_desk: make e_desk_has_ec

This API return the status which the desk has the given ec.

Change-Id: Ieb6a7b4d6694beec3b0cdd73f589fb957015588e

10 months agoe_desk: make DESK_EC_DATA_KEY 35/297835/1
SooChan Lim [Thu, 24 Aug 2023 10:02:11 +0000 (19:02 +0900)]
e_desk: make DESK_EC_DATA_KEY

ec store the evas_object_data with this key to figure out
which desk has ec.

Change-Id: I80313f1202fff560cfa06ce5854083d74f2a02e1

10 months agoe_desk: add the id to e_desk 34/297834/1
SooChan Lim [Thu, 24 Aug 2023 09:45:42 +0000 (18:45 +0900)]
e_desk: add the id to e_desk

The id of the desk increases when a e_desk is created.

Change-Id: Iaff61afd0e8ba5b6e7c996ffcc0adc81e68d6260

10 months agoe_config: remove the unused file 33/297833/1
SooChan Lim [Fri, 25 Aug 2023 06:17:26 +0000 (15:17 +0900)]
e_config: remove the unused file

Those files are useless.

Change-Id: I6a4a65b562c9228fb411b6d0839d10c99db9e44e

10 months agoe_hwc_windows: do not skip animating window in visible list 75/297775/2
Changyeon Lee [Wed, 23 Aug 2023 09:38:28 +0000 (18:38 +0900)]
e_hwc_windows: do not skip animating window in visible list

animating window can be shown under 24 depth fullscreen window

Change-Id: I24122a8ff2b7467d2c46c85e36723f0a84ae7654

10 months agoFix typo 71/297771/1
review-bot [Wed, 23 Aug 2023 11:36:10 +0000 (20:36 +0900)]
Fix typo

Change-Id: Ic6b8ee57d7156480897c9db279f62b358badb79f

10 months agoe_client: make the symbol be EINTERN 57/297757/1
SooChan Lim [Wed, 23 Aug 2023 06:50:56 +0000 (15:50 +0900)]
e_client: make the symbol be EINTERN

There is no use of this api at e20 modules.

Change-Id: I9a04ca582460f091f14b7615d87129b29ae136a8

10 months agoe_desk: remove the unused code 55/297755/2
SooChan Lim [Wed, 23 Aug 2023 23:19:54 +0000 (08:19 +0900)]
e_desk: remove the unused code

These code are unused.

Change-Id: I3aaaecb0524602157ffa9c72a2c9a2ebc05c5330

10 months agoe_client: remove the window profile 54/297754/3
SooChan Lim [Wed, 23 Aug 2023 08:03:38 +0000 (17:03 +0900)]
e_client: remove the window profile

The window proflie is not used in E20. It is useless.
Delete the window profile code.

Change-Id: I72f4feed88f935af7e79f7f404cda8adc5cdd20e

10 months agoremove the legacy unused files 53/297753/3
SooChan Lim [Wed, 23 Aug 2023 06:23:08 +0000 (15:23 +0900)]
remove the legacy unused files

E20 is totally forked from opensource Enlightenment.
Therefore, the legacy files from opensource is not useful anymore.

Change-Id: I723a7a6941e86cf595d555ed67f6817abc3e8fac

10 months agoavoid the build-error when GNU file is missing 56/297756/2
SooChan Lim [Thu, 24 Aug 2023 00:10:44 +0000 (09:10 +0900)]
avoid the build-error when GNU file is missing

Change-Id: Ia1901226f4c3ca5d56b8130e710c552173f9dca3

10 months agoe_devicemgr: handle keyboard_grab/ungrab requests 38/297738/2 accepted/tizen/unified/20230825.182737 accepted/tizen/unified/20230828.102403
duna.oh [Wed, 23 Aug 2023 02:40:40 +0000 (11:40 +0900)]
e_devicemgr: handle keyboard_grab/ungrab requests

keyboard_grab/ungrab are available since tizen_input_device_manager v.6
key events can be grabbed according to the requested device subtype.
(Remocon/None)

Change-Id: I373a2f037bb3d6ffce68b5469544d267f9da6190

10 months agoRevert "e_keyrouter: apply thread synchronization for key grab variables" 40/297740/1
Jihoon Kim [Wed, 23 Aug 2023 11:20:29 +0000 (20:20 +0900)]
Revert "e_keyrouter: apply thread synchronization for key grab variables"

This reverts commit 60c7ad9f8b85bf1443d5ba8193221c46bd6a33e7.

Change-Id: I053ced3e6fd02ef798d43c98073a5b26ecf4b18a

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