platform/upstream/enlightenment.git
10 months agoe_zone: fix the identical condition 24/298724/2
SooChan Lim [Tue, 12 Sep 2023 06:37:13 +0000 (15:37 +0900)]
e_zone: fix the identical condition

remove the same condition branch.

Change-Id: I66600d7321cf9da10149b917ec38ba8ca3a87c76

10 months agoe: enable a new structure of the focus policy 23/298723/2
SooChan Lim [Tue, 12 Sep 2023 01:24:38 +0000 (10:24 +0900)]
e: enable a new structure of the focus policy

Change-Id: Ifb7a599fa76837f245b4ef5dafce1512b38bbc25

10 months agoviewport: Add a log information before calculating destination 59/298659/2
Seunghun Lee [Tue, 12 Sep 2023 05:05:04 +0000 (14:05 +0900)]
viewport: Add a log information before calculating destination

Change-Id: I8d19b5f97329258274632d6787acb37c85db5f84

10 months agoviewport: Increase log level for debugging 58/298658/2
Seunghun Lee [Tue, 12 Sep 2023 04:54:16 +0000 (13:54 +0900)]
viewport: Increase log level for debugging

Change-Id: I8e3e05e98ea7f97d645a3174ca659466ed7296ea

10 months agoviewport: Update viewport where necessary 57/298657/2
Seunghun Lee [Tue, 12 Sep 2023 04:37:05 +0000 (13:37 +0900)]
viewport: Update viewport where necessary

It is to update viewport whenever parent becomes visible or subsurface
is created. The viewport set by `tizen_viewport` protocol has to be
re-calculated based on the geometry of parent.

Change-Id: I5903c8b4fcdbaf3d6a4ebaa65acdea79e254cb8c

10 months agoAdd ISU package 48/298548/3
Mateusz Moscicki [Wed, 7 Jun 2023 08:58:34 +0000 (10:58 +0200)]
Add ISU package

This patch is a fixed version of commit:

6f01f2f1087bb3d5adf988fc66585be9b23ed02f

which was reverted due to the use of the rpm macro.

This commit adds Individual Service Upgrade (ISU) feature to
enlightenment package. When installed it will allow to upgrade this
service using ISU mechanism, without the need to perform full OS
Upgrade.

This commits add necessary configuration to create upgrade packages of
needed format.  ISU framework itself is maintained and installed
separately.

Change-Id: Ib648b62bcaa3e005095c25af2818a261d2becaaf
Signed-off-by: Mateusz Moscicki <m.moscicki2@samsung.com>
10 months agoe_comp_wl_data: Change secondary send_selection event condition 46/298646/2
Junkyeong Kim [Tue, 12 Sep 2023 03:28:22 +0000 (12:28 +0900)]
e_comp_wl_data: Change secondary send_selection event condition

Because secondary send_selection event sequence changed,
the event sending condition also must be changed.
Use secondary_selection_sent flag to prevent send_selection event to secondary.

Change-Id: I54ad377b91ee4a20f927272a3b8dfe65cbfe42fe

10 months agoe_zone: fix the typo 44/298644/1
SooChan Lim [Tue, 12 Sep 2023 04:34:03 +0000 (13:34 +0900)]
e_zone: fix the typo

Change-Id: I2799fec59d363ac22c8b2e1e59dc5e57027c052a

10 months agopackaging: fix release version 25/298625/1
Doyoun Kang [Tue, 12 Sep 2023 01:39:44 +0000 (10:39 +0900)]
packaging: fix release version

Change-Id: I77920f016bea60ee225f4b3c1f1134a539c942b3

10 months agopackaging: apply new versioning policy 23/298623/1
Doyoun Kang [Mon, 11 Sep 2023 09:27:18 +0000 (18:27 +0900)]
packaging: apply new versioning policy

We apply new versioning policy using release field.
The release version consists of the following rule.
1. tizen version (ex: tz8, tz7, etc)
2. changes - major, minor, micro (ex: 0.0.0)

Change-Id: I7096a6644c0b9155fca4cdabe928e86b076c54b6

10 months agoRevert "test: new version policy" 04/298604/1
Doyoun Kang [Mon, 11 Sep 2023 09:10:01 +0000 (18:10 +0900)]
Revert "test: new version policy"

This reverts commit fffc04fa14d2884ac2776419605aeccec2206f92.

Change-Id: Ice508d266b959f998b9b6d35ea40b4c070a3413c

10 months agotest: new version policy 93/298593/1
Doyoun Kang [Mon, 11 Sep 2023 07:20:10 +0000 (16:20 +0900)]
test: new version policy

Change-Id: I32c6b57b536088f2634c616f24590ece40efb110

10 months agoRevert "Add ISU package" 08/298508/1 accepted/tizen/unified/20230908.185318
SooChan Lim [Fri, 8 Sep 2023 06:02:35 +0000 (15:02 +0900)]
Revert "Add ISU package"

This reverts commit 6f01f2f1087bb3d5adf988fc66585be9b23ed02f.

Change-Id: I0b119f720c1a72fef567815ac2d59f1b66a99c93

10 months agoe_comp_wl_data: Change secondary_selection send time 04/298504/1
Junkyeong Kim [Fri, 8 Sep 2023 02:22:54 +0000 (11:22 +0900)]
e_comp_wl_data: Change secondary_selection send time

AS IS
if cbhm receive done before secondary selection get src data,
cbhm set selection so previos selection source is destroyed.
but after destroy previous selection source, secondary selection request
previous data to receive. It makes secondary selection client crash.

copy source -> secondary selectoin
copy source -> cbhm

TO BE
send secondary selection to source event when cbhm set selection time.
it measns send copy data to secondary selection from cbhm.

copy source -> cbhm -> secondary selection

Change-Id: I2952e4e9925f2587db53d2154ea367b70cea0a3b

10 months agoe_comp_wl: fix to set and use ec->pointer_enter_sent properly 62/298462/2 accepted/tizen/unified/20230908.083312
duna.oh [Thu, 7 Sep 2023 06:42:18 +0000 (15:42 +0900)]
e_comp_wl: fix to set and use ec->pointer_enter_sent properly

In MouseIn cb, e_comp_wl->ptr.ec is set to a new ec which pointer entered.
And previous ec's pointer_enter_sent should be set to FALSE.

In MouseMove/Wheel/Button cb, e_comp_wl_cursor_reload() should be called when
pointer_enter_sent is FALSE.

Change-Id: I00599053ceab11ec4546d5598e2ad23c070dcf3e

10 months agoe_comp_wl: add logs on Mouse_In/Out/Move 61/298461/2
duna.oh [Thu, 7 Sep 2023 06:32:23 +0000 (15:32 +0900)]
e_comp_wl: add logs on Mouse_In/Out/Move

Change-Id: I57fdac1798c2b12172b23ed6a4c4e2fc57573b88

10 months agoe_process: fix bug for handling active window 57/298457/1
Doyoun Kang [Thu, 7 Sep 2023 04:46:59 +0000 (13:46 +0900)]
e_process: fix bug for handling active window

There was a bug that the active_win was not updated even though it was deleted.
This patch resolve it.

Change-Id: Id8305831923b875db97e166179e908a8966a4c02

10 months agoAdd ISU package 87/294787/8
Mateusz Moscicki [Wed, 7 Jun 2023 08:58:34 +0000 (10:58 +0200)]
Add ISU package

This commit adds Individual Service Upgrade (ISU) feature to
enlightenment package. When installed it will allow to upgrade this
service using ISU mechanism, without the need to perform full OS
Upgrade.

This commits add necessary configuration to create upgrade packages of
needed format.  ISU framework itself is maintained and installed
separately.

Change-Id: I17a7fa2aa58dbd705b582856de40b2a7f763401e
Signed-off-by: Mateusz Moscicki <m.moscicki2@samsung.com>
10 months agoRevert "packaging: add new verioning policy" 30/298430/1
Doyoun Kang [Thu, 7 Sep 2023 01:30:25 +0000 (10:30 +0900)]
Revert "packaging: add new verioning policy"

This reverts commit 9f9a8738ee1f19a3a73b5e1a23e2f6a5eaa0ea12.

Change-Id: Ibf84fa100629e0a7c7a0881b1c5ee2129b0322e9

10 months agopackaging: add new verioning policy 78/297578/4
Doyoun Kang [Mon, 21 Aug 2023 08:16:20 +0000 (17:16 +0900)]
packaging: add new verioning policy

Change-Id: Iedef81f64e4dc103ae7b7e5d989016f07fd9e5ba

10 months agoe_zone: send iconify event 98/298398/1
SooChan Lim [Wed, 6 Sep 2023 10:24:01 +0000 (19:24 +0900)]
e_zone: send iconify event

Call the e_client_iconify_event_send at iconify hook callback

Change-Id: I4ba9994be2d9ae2735691fb9a255219a5dad7726

10 months agoe_comp_object: remove the unused code 74/298374/2
SooChan Lim [Mon, 28 Aug 2023 08:08:42 +0000 (17:08 +0900)]
e_comp_object: remove the unused code

This code is useless right now.

Change-Id: Icf3ec2406f840fde6f1f12452ac5168b9b328fc8

10 months agoe_comp: use e_comp_desk_find_by_ec 73/298373/1
SooChan Lim [Wed, 6 Sep 2023 00:45:34 +0000 (09:45 +0900)]
e_comp: use e_comp_desk_find_by_ec

Get the desk containing ec using this function

Change-Id: Ibb56ebeb2ceff134487845af3ec447325ada41f7

10 months agoe_comp: add e_comp_desk_find_by_ec function 72/298372/1
SooChan Lim [Tue, 5 Sep 2023 23:21:50 +0000 (08:21 +0900)]
e_comp: add e_comp_desk_find_by_ec function

This func provide the e_desk containing a given e_client
through searching all desks.

Change-Id: Ic787b047ac50c6a788e945353924e5fe0b1b9737

10 months agoe_desk: use e_desk_has_ec 71/298371/1
SooChan Lim [Tue, 5 Sep 2023 09:12:04 +0000 (18:12 +0900)]
e_desk: use e_desk_has_ec

Use e_desk_has_ec function when you check if ec is belonging to a desk

instead of comparing two desks.

Change-Id: Iec5f61ad0c531a66208cd005068074d2e0249231

10 months agoe_zone: remove the use of ec->desk 70/298370/1
SooChan Lim [Mon, 28 Aug 2023 10:09:17 +0000 (19:09 +0900)]
e_zone: remove the use of ec->desk

The desk variable at e_client will be deprecated.

Change-Id: I5fb944a25639a7609c7d2eb23f6e0c93a09bbcca

10 months agoe_desk: remove the use of ec->desk 69/298369/1
SooChan Lim [Mon, 28 Aug 2023 10:03:13 +0000 (19:03 +0900)]
e_desk: remove the use of ec->desk

The desk variable at e_client will be deprecated.

Change-Id: I108cd67e2725f1940c3dcc444a01fe89945f583e

10 months agoe_comp_wl: remove the use of ec->desk 68/298368/1
SooChan Lim [Mon, 28 Aug 2023 08:47:20 +0000 (17:47 +0900)]
e_comp_wl: remove the use of ec->desk

The desk variable at e_client will be deprecated.

Change-Id: Iaa14e88a52f61a689481f98bc437c2b847e01a4d

10 months agoe_comp_wl_shell: remove the use of ec->desk 67/298367/1
SooChan Lim [Mon, 28 Aug 2023 08:29:07 +0000 (17:29 +0900)]
e_comp_wl_shell: remove the use of ec->desk

The desk variable at e_client will be deprecated.

Change-Id: I9d4166629da414b2c24d4011130dbd5fe0d4f224

10 months agoe_client: remove the use of ec->desk 66/298366/1
SooChan Lim [Mon, 28 Aug 2023 06:47:08 +0000 (15:47 +0900)]
e_client: remove the use of ec->desk

The desk variable at e_client will be deprecated.

Change-Id: Ic957f1598e4d44550c31d4f8885ab7715020b06d

10 months agoe_utils: remove the use of ec->desk 65/298365/1
SooChan Lim [Mon, 28 Aug 2023 05:29:08 +0000 (14:29 +0900)]
e_utils: remove the use of ec->desk

The desk variable at e_client will be deprecated.

Change-Id: I5ef7cc7e7800307451e5c0011cb882647ca93758

10 months agoe_maximize: remove the use of ec->desk 64/298364/1
SooChan Lim [Mon, 28 Aug 2023 00:43:44 +0000 (09:43 +0900)]
e_maximize: remove the use of ec->desk

The desk variable at e_client will be deprecated.

Change-Id: I09550e72723f2f7d8e444e6c252360d135638414

10 months agoe_place: remove the use of ec->desk 63/298363/1
SooChan Lim [Mon, 28 Aug 2023 04:56:52 +0000 (13:56 +0900)]
e_place: remove the use of ec->desk

The desk variable at e_client will be deprecated.

Change-Id: I6e22c06d7b888161127af13b70ef4e744752239d

10 months agoe_policy_visibility: remove the use of ec->desk 62/298362/1
SooChan Lim [Mon, 28 Aug 2023 04:53:08 +0000 (13:53 +0900)]
e_policy_visibility: remove the use of ec->desk

The desk variable at e_client will be deprecated.

Change-Id: Ice62dd465208d26ccab4c4a01c2328a26601e1a5

10 months agoe_policy_wl: remove the use of ec->desk 61/298361/1
SooChan Lim [Mon, 28 Aug 2023 00:32:40 +0000 (09:32 +0900)]
e_policy_wl: remove the use of ec->desk

The desk variable at e_client will be deprecated.

Change-Id: I3a0f054d22fc081a4b98933212418ba00d734b4d

10 months agoe_magnifier: remove the use of ec->desk 60/298360/1
SooChan Lim [Sun, 27 Aug 2023 08:44:35 +0000 (17:44 +0900)]
e_magnifier: remove the use of ec->desk

The desk varaible at e_client will be deprecated

Change-Id: Id676ce99856f6778a86b5680ac0c5438fc052a61

10 months agoe_policy: remove the use of ec->desk 59/298359/1
SooChan Lim [Sun, 27 Aug 2023 08:13:22 +0000 (17:13 +0900)]
e_policy: remove the use of ec->desk

The desk varaible at e_client will be deprecated

Change-Id: I29442e4926ecc2ecf84da6faf254a99fd25e52b3

10 months agoUse ds_single_pixel_buffer_manager_v1 96/298296/1 accepted/tizen/unified/20230906.014645
Seunghun Lee [Fri, 1 Sep 2023 07:11:10 +0000 (16:11 +0900)]
Use ds_single_pixel_buffer_manager_v1

Instead of implementing single-pixel-buffer-manager-v1 protocol by
itself, this uses ds_single_pixel_buffer_manager_v1 [1].

[1]: https://github.sec.samsung.net/TizenWS/libds/pull/134

Change-Id: I28c2c6e7a3a009f8f21d4c4329f60bb55dddd167

10 months agoSplit tizen_subsurface_watcher implementation out 36/298236/1 accepted/tizen/unified/20230904.165048
Seunghun Lee [Fri, 18 Aug 2023 03:08:42 +0000 (12:08 +0900)]
Split tizen_subsurface_watcher implementation out

This patch introduces E_Subsurface_Watcher implementing
tizen_subsurface_watcher protocol. This removes watcher dependency from
the E_Client. Therefore, the E_Client does no longer have to handle a
watcher by itself.

Change-Id: Ifd657f0dbc4288c18151be0e12a024f1bdad61a9

10 months agoadd REFACTOR_ZONE_DESK 31/298231/1
SooChan Lim [Fri, 1 Sep 2023 08:59:55 +0000 (17:59 +0900)]
add REFACTOR_ZONE_DESK

This separate refactoring code from orignal code

Change-Id: I3be1a7b0ae69270ce5a050f24eb564d3d95c2919

10 months agoe_client: use e_desk_has_ec instead of e_client_util_desk_visible 30/298230/1
SooChan Lim [Mon, 28 Aug 2023 11:22:23 +0000 (20:22 +0900)]
e_client: use e_desk_has_ec instead of e_client_util_desk_visible

and remove e_client_util_desk_visible.

Change-Id: Idbe4e96928282e57dc909f1c46387d9c7a344607

10 months agoe_focus_policy_topmost: remove the use of ec->desk 29/298229/1
SooChan Lim [Sun, 27 Aug 2023 07:58:20 +0000 (16:58 +0900)]
e_focus_policy_topmost: remove the use of ec->desk

The desk varaible at e_client will be deprecated

Change-Id: I3c4c9e27a71403ab2a14b471e624c0670c2472a6

10 months agoe_focus_policy_history: remove the use of ec->desk 28/298228/1
SooChan Lim [Thu, 24 Aug 2023 10:57:04 +0000 (19:57 +0900)]
e_focus_policy_history: remove the use of ec->desk

The desk varaible at e_client will be deprecated

Change-Id: I4d093e5e0dda73298482c0716e02e6bf97afa7c3

10 months agoe_service_volume: use the current desk of the zone 27/298227/1
SooChan Lim [Thu, 24 Aug 2023 07:41:25 +0000 (16:41 +0900)]
e_service_volume: use the current desk of the zone

The zone has the _voluem_ec.

Change-Id: I7e222f10a5db0d7a76a47fcd73583ed70176b328

10 months agoe_service_quickpanel: get the current desk of the zone 26/298226/1
SooChan Lim [Thu, 24 Aug 2023 07:37:35 +0000 (16:37 +0900)]
e_service_quickpanel: get the current desk of the zone

Use the current desk at the zone

Change-Id: I51f813f267b636cbdb089cd2128a83c5782d2ff2

10 months agoe_zone: set the zone data to the e_client before e_desk_client_add 25/298225/1
SooChan Lim [Tue, 29 Aug 2023 07:49:10 +0000 (16:49 +0900)]
e_zone: set the zone data to the e_client before e_desk_client_add

e_desk_client_add needs the zone data from the e_client.

Change-Id: I711f20dd7da1fea878d62c0020b0231c0442b756

10 months agoe_zone: move desk code to E_CLIENT_HOOK_INCONIFY callback 24/298224/1
SooChan Lim [Mon, 28 Aug 2023 07:02:16 +0000 (16:02 +0900)]
e_zone: move desk code to E_CLIENT_HOOK_INCONIFY callback

For removing the dependency of the desk at e_client

Change-Id: Iaa3db24e6672998d2238d34691ff9971bc8686f2

10 months agoe_zone: move desk code to E_CLIENT_HOOK_UNFULLSCREEN callback 23/298223/1
SooChan Lim [Mon, 28 Aug 2023 00:08:15 +0000 (09:08 +0900)]
e_zone: move desk code to E_CLIENT_HOOK_UNFULLSCREEN callback

For removing the dependency of the desk at e_client

Change-Id: I4b15171f4dcf5db932e411b9fb3ddd839bfad365

10 months agoe_zone: move desk code to E_CLIENT_HOOK_FULLSCREEN callback 22/298222/1
SooChan Lim [Sun, 27 Aug 2023 23:58:19 +0000 (08:58 +0900)]
e_zone: move desk code to E_CLIENT_HOOK_FULLSCREEN callback

For removing the dependency of the desk at e_client

Change-Id: I6e4d76a46501a46cab16201352e350b88c22e72d

10 months agoe_zone: move desk code to E_CLIENT_HOOK_ACTIVATE_DONE callback 21/298221/1
SooChan Lim [Sun, 27 Aug 2023 23:26:43 +0000 (08:26 +0900)]
e_zone: move desk code to E_CLIENT_HOOK_ACTIVATE_DONE callback

For removing the dependency of the desk at e_client

Change-Id: I432ae6035e5355b75c55933f94dd67d741ce5bb2

10 months agoe_zone: move desk code to E_CLIENT_HOOK_UNMAXIMIZE callback 20/298220/1
SooChan Lim [Sun, 27 Aug 2023 07:45:48 +0000 (16:45 +0900)]
e_zone: move desk code to E_CLIENT_HOOK_UNMAXIMIZE callback

For removing the dependency of the desk at e_client

Change-Id: I4da799873cd92f337c7035800a7a271f4a59ec0e

10 months agoe_client: make _e_client_frame_update be EINTERN 19/298219/1
SooChan Lim [Sun, 27 Aug 2023 07:43:33 +0000 (16:43 +0900)]
e_client: make _e_client_frame_update be EINTERN

e_client_fram_update will be used at other files

Change-Id: Idf65373dbcc662c8cae5926f3650cad92e746ae7

10 months agoe_zone: move desk code to E_CLIENT_HOOK_MAXIMIZE callback 18/298218/1
SooChan Lim [Sun, 27 Aug 2023 07:08:08 +0000 (16:08 +0900)]
e_zone: move desk code to E_CLIENT_HOOK_MAXIMIZE callback

For removing the dependency of the desk at e_client

Change-Id: I0e618e1cedb762934c07d5f52de8482eafc92191

10 months agoe_zone: move desk code to E_CLIENT_HOOK_DEL callback 17/298217/1
SooChan Lim [Sun, 27 Aug 2023 02:23:56 +0000 (11:23 +0900)]
e_zone: move desk code to E_CLIENT_HOOK_DEL callback

For removing the dependency of the desk at e_client

Change-Id: Ia87f8fe92f50ec3d86c3e031282ea54211083f4d

10 months agoe_zone: ec add to current desk of the zone 16/298216/1
SooChan Lim [Fri, 25 Aug 2023 10:43:28 +0000 (19:43 +0900)]
e_zone: ec add to current desk of the zone

when ec add to zone

Change-Id: Iffb2101b75e10c5c06c43a6a9b3234d7a2e38efc

10 months agoe_zone: use e_zone_client_add instead of e_client_zone_set 15/298215/1
SooChan Lim [Fri, 25 Aug 2023 10:18:33 +0000 (19:18 +0900)]
e_zone: use e_zone_client_add instead of e_client_zone_set

e_client_zone_set is deprecated and use e_zone_client_add.

Change-Id: I59331f763700b87b93f474791c08bd49b4d921af

10 months agoe_zone: add the _e_zone_client_set to e_zone_client_add 14/298214/1
SooChan Lim [Fri, 25 Aug 2023 10:09:39 +0000 (19:09 +0900)]
e_zone: add the _e_zone_client_set to e_zone_client_add

The _e_zone_client_set function has the code from e_client_zone_set function.

Change-Id: Ie71624d5bad68f9e02a6adb9026ac70febc339c5

10 months agoe_zone: use e_desk_client_add instead of e_client_desk_set 13/298213/1
SooChan Lim [Fri, 25 Aug 2023 09:37:35 +0000 (18:37 +0900)]
e_zone: use e_desk_client_add instead of e_client_desk_set

e_client_desk_set is deprecated and use e_desk_client_add.

Change-Id: I18a8c0075c67eb193076f28f908a6b842df31f90

10 months agoe_desk: add the _e_desk_client_set to e_desk_client_add 12/298212/1
SooChan Lim [Fri, 25 Aug 2023 09:26:47 +0000 (18:26 +0900)]
e_desk: add the _e_desk_client_set to e_desk_client_add

The _e_desk_client_set function has the code from e_client_desk_set function.
Therefore, e_client has set to the desk with e_desk_client_add function.

Change-Id: I02171a8c27dcb43c820a99520f73bff3e2fe153c

10 months agoe_client: remove E_CLIENT_HOOK_DESK_SET 11/298211/1
SooChan Lim [Fri, 25 Aug 2023 09:07:45 +0000 (18:07 +0900)]
e_client: remove E_CLIENT_HOOK_DESK_SET

This hook is not used anymore.

Change-Id: Ic380332f487588b1e0cd836fcbcff35af4f873b5

10 months agoe_zone: add E_CLIENT_HOOK_UNSTICK callback 10/298210/1
SooChan Lim [Fri, 25 Aug 2023 08:05:20 +0000 (17:05 +0900)]
e_zone: add E_CLIENT_HOOK_UNSTICK callback

Move the client's actions at e_client to e_zone.

Change-Id: Ice0e2442df65adf4197df86159c62f6a2c28a24d

10 months agoe_zone: add E_CLIENT_HOOK_STICK callback 09/298209/1
SooChan Lim [Fri, 25 Aug 2023 07:55:42 +0000 (16:55 +0900)]
e_zone: add E_CLIENT_HOOK_STICK callback

Move the client's actions at e_client to e_zone.

Change-Id: I470fd45f98b4fe285bf58425324a999dcff1ae19

10 months agoe_client: make E_CLIENT_HOOK_UNSTICK 08/298208/1
SooChan Lim [Fri, 25 Aug 2023 07:52:29 +0000 (16:52 +0900)]
e_client: make E_CLIENT_HOOK_UNSTICK

This hook is called when e_client_unstick() is called.

Change-Id: Id081bee1f03785d17d4f6c25b217b7fb43df1207

10 months agoe_client: make E_CLIENT_HOOK_STICK 07/298207/1
SooChan Lim [Fri, 25 Aug 2023 07:50:20 +0000 (16:50 +0900)]
e_client: make E_CLIENT_HOOK_STICK

This hook is called when e_client_stick() is called.

Change-Id: I36b40bdd3dec91fe94472ebc6fc7493ff1454903

10 months agoe_zone: move the action for the client's uniconfying to e_zone 06/298206/1
SooChan Lim [Fri, 25 Aug 2023 07:33:23 +0000 (16:33 +0900)]
e_zone: move the action for the client's uniconfying to e_zone

move the uniconfying client form e_client to e_zone

Change-Id: Ib0ae63779c538659e179376868bdcf8d97e9b8b4

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>