platform/upstream/enlightenment.git
13 months agoe_comp_wl_data: Erase unnecessary checking 92/300192/2
Junkyeong Kim [Wed, 18 Oct 2023 06:53:33 +0000 (15:53 +0900)]
e_comp_wl_data: Erase unnecessary checking

Avoid mutex lock lock error by unnecessary checking.

Change-Id: I0734580de3cc22e67bedc17d7268c206b81d1012

13 months agoe_compositor: Fix crash when accessing null pointer of e_comp_wl->ptr.ec 90/300190/2
duna.oh [Wed, 18 Oct 2023 07:03:00 +0000 (16:03 +0900)]
e_compositor: Fix crash when accessing null pointer of e_comp_wl->ptr.ec

This code snippet is omitted when applying the commit '406e1d'

Change-Id: Iedcf907b2783921e0993f1537b53df984ba1d606

13 months agoe_policy: fix bug for NULL_AFTER_DEREF error 88/300188/1
Doyoun Kang [Wed, 18 Oct 2023 06:23:33 +0000 (15:23 +0900)]
e_policy: fix bug for NULL_AFTER_DEREF error

Change-Id: I9254cd1681ad310e53fc7b92a5ee036b96e8a7ba

13 months agoe_client: modify code for handling client type 87/300187/1
Doyoun Kang [Wed, 18 Oct 2023 05:59:15 +0000 (14:59 +0900)]
e_client: modify code for handling client type

Change-Id: I8c5b72e6ddcf4283d44e95acfea86cab574cbd79

13 months agoe_client/e_policy: add maximize_type for maximizing window 86/300186/1
Doyoun Kang [Wed, 18 Oct 2023 04:32:01 +0000 (13:32 +0900)]
e_client/e_policy: add maximize_type for maximizing window

There is a requirement to maximize window to full screen size.
In most cases, when the window request to maximize, it is maximized to a size exculuding
the obstacles(such as taskbar) area.
However, special apps such as home screen should be maximized to the size of the entire
screen.

So, we add a maximize_type in the E_Client structure to decide the maximize type.

Change-Id: Ifde8188b04a43c256f88439bdfac7e84086f1537

13 months agoe_comp_wl_data: Support multiple secondary selection 85/300185/1
Junkyeong Kim [Wed, 18 Oct 2023 05:26:50 +0000 (14:26 +0900)]
e_comp_wl_data: Support multiple secondary selection

Send copied data to secondary_list members.

Change-Id: Ie08a988ab2d8bb12675675eda48b23ffd7d08b11

13 months agoe_comp_wl_data: Add secondary add/remove function 84/300184/1
Junkyeong Kim [Wed, 18 Oct 2023 05:08:44 +0000 (14:08 +0900)]
e_comp_wl_data: Add secondary add/remove function

Use secondary_list to support multiple secondary selection.

Change-Id: Id3505a47bf3b877e2c69d533d03573106555eb3a

13 months agoe_service_kvm: enable multi instance of kvm service 79/300179/1
Junseok Kim [Wed, 11 Oct 2023 07:29:38 +0000 (16:29 +0900)]
e_service_kvm: enable multi instance of kvm service

Change-Id: I867311d0a21e278622e8725e8259a0f28bf0b2ed

13 months agoe_devicemgr: fix conditional for allowing pointer_warp
duna.oh [Tue, 17 Oct 2023 04:13:55 +0000 (13:13 +0900)]
e_devicemgr: fix conditional for allowing pointer_warp

Change-Id: I665e3fbfd0859cabcaa6044d804212e48066fd9e

13 months agoe_comp_wl_input: fix bugs in pointer constraint (memory leak, null check) 34/300134/1
duna.oh [Thu, 12 Oct 2023 07:58:15 +0000 (16:58 +0900)]
e_comp_wl_input: fix bugs in pointer constraint (memory leak, null check)

Change-Id: If82d3fb2b89cd13b3793abe75985d7f1e8e7017a

13 months agopackaging: Update version to tz8_4.0.2 95/300095/1 accepted/tizen/unified/20231018.120810
Doyoun Kang [Mon, 16 Oct 2023 23:02:31 +0000 (08:02 +0900)]
packaging: Update version to tz8_4.0.2

Change-Id: If28878fd9b1fa76752a2f732c0d777173ac66202

13 months agoRevert "xdg_shell_v6: Use ds_xdg_shell_v6" 92/300092/1
Seunghun Lee [Mon, 16 Oct 2023 10:28:14 +0000 (19:28 +0900)]
Revert "xdg_shell_v6: Use ds_xdg_shell_v6"

This reverts commit fae1e58bc095580c648f4afc305f665770131e36.

Change-Id: I472de42ca93e8f24bccc081c15fcc307d45a3b49

13 months agoe_xdg_shell: fix bug for setting size of fullscreen state 27/300027/1
Doyoun Kang [Sun, 15 Oct 2023 04:27:19 +0000 (13:27 +0900)]
e_xdg_shell: fix bug for setting size of fullscreen state

Change-Id: I72783b4947a9a579d552e1edad6025178244924b

13 months agopackaging: Update version to tz8_4.0.1 10/300010/1
SooChan Lim [Fri, 13 Oct 2023 09:57:43 +0000 (18:57 +0900)]
packaging: Update version to tz8_4.0.1

Change-Id: I5ba2a23ae60acb13eb421607c97ab065828f9fe0

13 months agoFix typos 94/299994/1
Jihoon Kim [Tue, 23 May 2023 02:29:33 +0000 (11:29 +0900)]
Fix typos

Change-Id: I4a4f8330a9e649004867f69014028008b90f9a19
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
13 months agoe_compositor: add mutex for protecting destroyed surface 93/299993/1
Jihoon Kim [Fri, 13 Oct 2023 06:36:22 +0000 (15:36 +0900)]
e_compositor: add mutex for protecting destroyed surface

Change-Id: I7225630967de999e57ccf7d0a3015f0c2dbecee3
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
13 months agoprotect e_comp->layers with mutex 87/299987/1
Joonbum Ko [Fri, 13 Oct 2023 04:01:35 +0000 (13:01 +0900)]
protect e_comp->layers with mutex

 - Using e_comp->input_key_grabs_mutex

Change-Id: I54b117c40ca3534099876147f7036971c88fb859
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
13 months agoe_input: modified to add/remove device within an ecore main thread 81/299981/1
Inhong Han [Fri, 13 Oct 2023 05:40:35 +0000 (14:40 +0900)]
e_input: modified to add/remove device within an ecore main thread

Change-Id: I1736dddb1b760cd79ce4a1bcb4a60041d3a0de59

13 months agoe_policy: send visibility FULLY_OBSCURED when obscured by above alpha opaque window 80/299980/2
Junseok Kim [Wed, 11 Jan 2023 04:08:52 +0000 (13:08 +0900)]
e_policy: send visibility FULLY_OBSCURED when obscured by above alpha opaque window

Change-Id: I8b7cf502bdd0acaba634abd5d86a46f3b063b870

13 months agoe_keyrouter: Add missing lock for pic_off_ptr 75/299975/1
Jihoon Kim [Fri, 13 Oct 2023 01:53:56 +0000 (10:53 +0900)]
e_keyrouter: Add missing lock for pic_off_ptr

Change-Id: If47270b1f46d99021b21846d3382427cc02e0028
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
13 months agoe_dnd: Use e_map to drag object if drag_client transformed 70/299970/1
Junseok Kim [Thu, 12 Oct 2023 13:18:48 +0000 (22:18 +0900)]
e_dnd: Use e_map to drag object if drag_client transformed

Change-Id: I10fd155d070942ba06552c27e2b98745896ceb01

13 months agoRevert "e_hwc_windows: do not skip animating window in visible list" 04/299904/1
Changyeon Lee [Wed, 11 Oct 2023 11:06:56 +0000 (20:06 +0900)]
Revert "e_hwc_windows: do not skip animating window in visible list"

This reverts commit aff40cbe7a5f5f6d91b5052837d6a3ac41d18859.

this commit is not needed anymore

bug is fixed with commit 0eb394584

"e_hwc_windows: fix the problem that window located under 24 depth
 window is visible"

Change-Id: Id96c7450cf9232692017434687a1c70f8aea9cf9

13 months agoxdg_shell_v6: Use ds_xdg_shell_v6 99/299899/1
Seunghun Lee [Mon, 9 Oct 2023 23:50:36 +0000 (08:50 +0900)]
xdg_shell_v6: Use ds_xdg_shell_v6

Replaces xdg_shell_v6 implementation with ds_xdg_shell_v6.

Change-Id: Ieab48d255953892639872e733f66fbefd73018fa

13 months agoe_desk_area: use e_desk_area_enable_set 56/299856/2
SooChan Lim [Thu, 5 Oct 2023 08:41:45 +0000 (17:41 +0900)]
e_desk_area: use e_desk_area_enable_set

instead of e_client_desk_area_set

Change-Id: I5cb2dc90fd1ce932da47daf7c1e06d16e57c0341

13 months agoe_desk_area: rename e_desk_area_ec_layer_set 55/299855/2
SooChan Lim [Sun, 10 Sep 2023 03:36:40 +0000 (12:36 +0900)]
e_desk_area: rename e_desk_area_ec_layer_set

to e_desk_area_ec_edg_layer_set

Change-Id: Ie2e6ec46a3b2f6309c1c6ab1722f22a0ed253373

13 months agoe_zone: set the initial layer of the client 54/299854/2
SooChan Lim [Mon, 18 Sep 2023 08:20:32 +0000 (17:20 +0900)]
e_zone: set the initial layer of the client

The client sets the initial layer after the client
is added to the zone and the desk in order that a zone
calls the callback function for the client hook call.

Change-Id: I89a16c42c2d81084b412ff82fd100b69cdad9331

13 months agoe_desk_area: make e_desk_area_ec_reassign 53/299853/2
SooChan Lim [Tue, 29 Aug 2023 00:59:17 +0000 (09:59 +0900)]
e_desk_area: make e_desk_area_ec_reassign

and use this api instead of e_client_desk_area_set

Change-Id: Ic7a8dc8208cdd20b46c17e2c5601c26b2ae881ea

13 months agoe_comp_object: make signals provided by e_comp_object 52/299852/2
SooChan Lim [Wed, 4 Oct 2023 05:55:29 +0000 (14:55 +0900)]
e_comp_object: make signals provided by e_comp_object

These are used instead of e_comp_object's hooks

Change-Id: Ib942340ef00658e331b539b2e7c1f27187132f24

13 months agoe_desk: introduce e_desk private 51/299851/2
SooChan Lim [Wed, 27 Sep 2023 02:02:57 +0000 (11:02 +0900)]
e_desk: introduce e_desk private

E_Desk has a private data using e_object_set_data.
It can make a e_desk encapsulate its private data.

Change-Id: I1936ab7d105eb33fcee0e721bdaf88a756098088

13 months agoe_zone: introduce e_zone private 50/299850/2
SooChan Lim [Fri, 22 Sep 2023 06:46:13 +0000 (15:46 +0900)]
e_zone: introduce e_zone private

E_Zone has a private data using e_object_set_data.
It can make a e_zone encapsulate its private data.

Change-Id: Ie01861a96e2f7e66337d1574b7fc6f8b40ae7115

13 months agoe_client: add more signals 49/299849/1
SooChan Lim [Tue, 26 Sep 2023 09:15:04 +0000 (18:15 +0900)]
e_client: add more signals

These replaces E_CLIENT_HOOKs inside enlightenment.

Change-Id: I2b35be46d1e9b74c4dbd5bd5ebd17aebbdd0609f

13 months agopackaging: Update version to tz8_4.0.0 73/299773/1 accepted/tizen/unified/20231010.162040
Doyoun Kang [Tue, 10 Oct 2023 05:21:32 +0000 (14:21 +0900)]
packaging: Update version to tz8_4.0.0

Change-Id: I4e5437e13692abecb16dd4e321c0e339e3b01ab1

13 months agoe_keyrouter: fix crash issue in e_keyrouter_find_and_remove_client_from_list 69/299769/1
Jihoon Kim [Fri, 6 Oct 2023 11:14:00 +0000 (20:14 +0900)]
e_keyrouter: fix crash issue in e_keyrouter_find_and_remove_client_from_list

Change-Id: Iff4522dc7ea7342849f3324a4256e048547517dd
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
13 months agoe_input: add mutex for edev->touch.blocked variable 62/299762/1
Jihoon Kim [Wed, 4 Oct 2023 05:08:56 +0000 (14:08 +0900)]
e_input: add mutex for edev->touch.blocked variable

Change-Id: Ie5bd9ce473227cd36dadb7a0e30980c8014cb68d
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
13 months agoe_input_device: add mutex for raw_pressed in touch event 61/299761/1
Jihoon Kim [Wed, 27 Sep 2023 02:14:01 +0000 (11:14 +0900)]
e_input_device: add mutex for raw_pressed in touch event

Change-Id: I9f56dccf4ef0d92527cf8528563d5c96ccc1bf76
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
13 months agoe_input_device: add mutex for blocked_client 60/299760/1
Jihoon Kim [Tue, 26 Sep 2023 07:23:41 +0000 (16:23 +0900)]
e_input_device: add mutex for blocked_client

Change-Id: I24fb0af59e7ae6f38dac5b95118dd0a3dfebaeef
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
13 months agoe_hwc_windows: fix use after free of e_hwc_window 81/299681/1
Changyeon Lee [Fri, 6 Oct 2023 07:57:01 +0000 (16:57 +0900)]
e_hwc_windows: fix use after free of e_hwc_window

if queue buffer is released when hwc_window of client fetch buffer,
hwc_window can be freed while hwc_windows list is iterated
in _e_hwc_windows_changes_update.
it ouccur that hwc_window is used after freed.
for fixing it, we reference e_hwc_widnow before hwc_windows list is iterated
and it makes prevent hwc_windows is freed in e_hwc_window_buffer_fetch.

Change-Id: I90d656bc6380b4fe69d5a75f88a7dfe55c21cc8d

13 months agoe_keyrouter: fix wrong mutex usage 42/299642/1
Jihoon Kim [Fri, 6 Oct 2023 01:51:00 +0000 (10:51 +0900)]
e_keyrouter: fix wrong mutex usage

Change-Id: I0e406d96d7ba2d90490f167e4ef16bc2e5968cf9
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
13 months agopackaging: Update version to tz8_3.0.2 13/299613/1 accepted/tizen/unified/20231007.143546
Doyoun Kang [Thu, 5 Oct 2023 09:06:50 +0000 (18:06 +0900)]
packaging: Update version to tz8_3.0.2

Change-Id: I3ec6ea90225c7e458170ab7ce40613b8d7d60022

13 months agoRevert "xdg_shell_v6: Use ds_xdg_shell_v6" 10/299610/1
Seunghun Lee [Thu, 5 Oct 2023 08:59:29 +0000 (17:59 +0900)]
Revert "xdg_shell_v6: Use ds_xdg_shell_v6"

This reverts commit fc59d646776880194b5f4de93cdea454dfd88be5.

The commit causes a crash on libds.

Change-Id: I2a50c537658a1295a623f31ad54eb4bd97b76904

13 months agopackaging: Update version to tz8_3.0.1 08/299608/2
SooChan Lim [Thu, 5 Oct 2023 08:30:00 +0000 (17:30 +0900)]
packaging: Update version to tz8_3.0.1

Change-Id: I9dc366bd2c2ed1b806b22ab4d260f5039ee628b8

13 months agoe_comp_wl_input: when pointer is locked, do not update seat->ptr.x/y. like grab 75/299575/1
duna.oh [Tue, 26 Sep 2023 10:46:56 +0000 (19:46 +0900)]
e_comp_wl_input: when pointer is locked, do not update seat->ptr.x/y. like grab

Change-Id: Id6ea728470a3028c4cda4cce6425cb64dd57b57a

13 months agoe_devicemgr: fix to add client's x, y to requested warp position 74/299574/1
duna.oh [Tue, 26 Sep 2023 09:57:25 +0000 (18:57 +0900)]
e_devicemgr: fix to add client's x, y to requested warp position

The warp position is requested in surface-coordinate.
By adding client's x/y, it is converted in global-coordinate.

This patch fixes to add client's x/y before calculating new_x/y if it has map.

Change-Id: Iec2ba1a76b0aae8af3a0b707c82909f11bab8abc

13 months agoe_devicemgr: add logs when pointer_warp requested 73/299573/1
duna.oh [Tue, 26 Sep 2023 09:21:30 +0000 (18:21 +0900)]
e_devicemgr: add logs when pointer_warp requested

Change-Id: I65d12492ff37c1fd784364c74493510f4c149502

13 months agoe_comp_wl_tizen_hwc: add queue log of target window in timeout 69/299569/2
Changyeon Lee [Wed, 4 Oct 2023 07:24:24 +0000 (16:24 +0900)]
e_comp_wl_tizen_hwc: add queue log of target window in timeout

Change-Id: I71f0ada5b1dd4789cac3522dc77664b6f0c1c7eb

13 months agoe_client: calculate result of transform even if transform activate is disabled 68/299568/1
Changyeon Lee [Thu, 5 Oct 2023 03:22:29 +0000 (12:22 +0900)]
e_client: calculate result of transform even if transform activate is disabled

result of transform should be calculated even if client is hidden

Change-Id: I9b3ce0f2128a580c8a2c34c0cb86d9d15aadfe59

13 months agopackaging: Update version to tz8_3.0.0 61/299561/1
Doyoun Kang [Thu, 5 Oct 2023 02:27:35 +0000 (11:27 +0900)]
packaging: Update version to tz8_3.0.0

Change-Id: I17f6c0c24fc608ea9d84c685dd5c466c3f92490b

13 months agoe_comp_wl: send transformed position if the client use transform 56/299556/1
Junseok Kim [Wed, 4 Oct 2023 07:20:28 +0000 (16:20 +0900)]
e_comp_wl: send transformed position if the client use transform

Change-Id: Ifaf1d887a4aeaa9c450c5bf98541d5363a2f8367

13 months agoe_dnd: ungrab input once when drag end 55/299555/1
Junseok Kim [Wed, 4 Oct 2023 07:19:27 +0000 (16:19 +0900)]
e_dnd: ungrab input once when drag end

Change-Id: Ie59abe44d2cf0cad488e07b805499f085add235f

13 months agoxdg_shell_v6: Use ds_xdg_shell_v6 53/299553/1
Seunghun Lee [Tue, 16 May 2023 10:41:23 +0000 (19:41 +0900)]
xdg_shell_v6: Use ds_xdg_shell_v6

Replaces xdg_shell_v6 implementation with ds_xdg_shell_v6.

Change-Id: I2ac198a73401f60e2db17d0985127742169b61c7

13 months agoe_client: add e_client_base_output_resolution_desk_useful_geometry_get API 25/299525/1
Doyoun Kang [Sun, 1 Oct 2023 05:41:00 +0000 (14:41 +0900)]
e_client: add e_client_base_output_resolution_desk_useful_geometry_get API

We add a API for getting useful geometry with obstacle area (optional)

Change-Id: If7c9ec1f548e336e36e938a31743ab0e805cabab

13 months agoe_policy_visibility: set iconified type while iconifying by visibility 07/299507/2
Doyoun Kang [Sun, 1 Oct 2023 05:36:09 +0000 (14:36 +0900)]
e_policy_visibility: set iconified type while iconifying by visibility

Change-Id: I7b6a684ef73cb52a49f644b8d222c46ad5f542f7

13 months agoe_comp_object: do not print a log when the cursor is moving 04/299504/1
Doyoun Kang [Sun, 1 Oct 2023 05:34:32 +0000 (14:34 +0900)]
e_comp_object: do not print a log when the cursor is moving

Change-Id: I2dac9a36dfd760cd3706300721ce8337ab984988

13 months agopackaging: Update version to tz8_2.1.0 67/299367/1 accepted/tizen/unified/20231004.100214
Doyoun Kang [Tue, 26 Sep 2023 10:05:01 +0000 (19:05 +0900)]
packaging: Update version to tz8_2.1.0

Change-Id: Ic26132df6b5fe38fc92aea680baf0b0448de60cc

13 months agoe_keyrouter: fix issue that keygrab event is delivered late 66/299366/1
Jihoon Kim [Tue, 26 Sep 2023 04:50:19 +0000 (13:50 +0900)]
e_keyrouter: fix issue that keygrab event is delivered late

Change-Id: I42a2c168418647359393ff19ae7bbf8ca7c04379
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
13 months agoe_focus_policy: add mutex for _focus_policy_history_focused_ec_get 43/299343/2
Jihoon Kim [Tue, 26 Sep 2023 07:13:24 +0000 (16:13 +0900)]
e_focus_policy: add mutex for _focus_policy_history_focused_ec_get

Change-Id: I53a466851a0a492646593d0ac5e27acf22906295
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
13 months agoe_client: call wl_signal_emit_mutable before E_CLIENT_HOOK_DEL call 41/299341/2
SooChan Lim [Fri, 22 Sep 2023 08:06:47 +0000 (17:06 +0900)]
e_client: call wl_signal_emit_mutable before E_CLIENT_HOOK_DEL call

Change-Id: I71ebd95b3fa5f52c1ba963f46e27ff087c90a5bd

13 months agoe_comp_wl: emit surface_mousein_signal when wl_pointer.enter is sent 39/299339/1
duna.oh [Tue, 26 Sep 2023 06:42:31 +0000 (15:42 +0900)]
e_comp_wl: emit surface_mousein_signal when wl_pointer.enter is sent

Change-Id: Ifc8a8b4ca713b0a98d1564a379e2c6ae6572325f

13 months agoe_policy: Add policy client before add the new client into zone 31/299331/1
Junseok Kim [Tue, 26 Sep 2023 04:12:12 +0000 (13:12 +0900)]
e_policy: Add policy client before add the new client into zone

Change-Id: I0d62cedc4c444b90a8037011ef039f4883e511fd

13 months agoe_policy: Remove the desk_client_add hook of policy when they called 30/299330/1
Junseok Kim [Tue, 26 Sep 2023 04:10:39 +0000 (13:10 +0900)]
e_policy: Remove the desk_client_add hook of policy when they called

There was a bug that the hook didn't removed if the ec didn't satisfy
the condition.
and the hook called repeatly when there're new client.
For prevent this bug, remove the hook when they called.

Change-Id: I709fe30b730f60cb5c91cd6dc341497cbed3a121

13 months agoe_log: fix data race issue in eina_log 23/299323/2
Jihoon Kim [Tue, 26 Sep 2023 01:57:28 +0000 (10:57 +0900)]
e_log: fix data race issue in eina_log

Change-Id: Ie8f37796f245cbdb045e8a6de4c1e2cf298cde49
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
13 months agoe_comp_object: set pass_events_set FALSE on cw->transform_trans_obj 27/299327/2
duna.oh [Tue, 26 Sep 2023 03:20:05 +0000 (12:20 +0900)]
e_comp_object: set pass_events_set FALSE on cw->transform_trans_obj

Change-Id: Id2800b2a5926799638c69072d60082f3c1270dfd

13 months agoe_focus_policy_history: fix typo 21/299321/1
SooChan Lim [Fri, 22 Sep 2023 07:56:50 +0000 (16:56 +0900)]
e_focus_policy_history: fix typo

Change-Id: I7e038281e16b6b22363dde86d21bace5d65922b4

13 months agoe_keyrouter: add mutex for key grab list 93/299293/1
Jihoon Kim [Mon, 25 Sep 2023 07:23:28 +0000 (16:23 +0900)]
e_keyrouter: add mutex for key grab list

Change-Id: Id36d9d0c07930224820bbbd5b14af344312c5746
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
13 months agoe_comp_screen: Use wl_listener instead of E_CLIENTT_HOOK_DEL 29/299229/4
Seunghun Lee [Thu, 21 Sep 2023 01:35:45 +0000 (10:35 +0900)]
e_comp_screen: Use wl_listener instead of E_CLIENTT_HOOK_DEL

Change-Id: Ib58e1666c96eca969abe7d4bc9df9fb4e5e4cef5

13 months agoe_client: Introduce E_Client_Private 28/299228/2
Seunghun Lee [Thu, 21 Sep 2023 00:15:39 +0000 (09:15 +0900)]
e_client: Introduce E_Client_Private

This commit introduces an E_Client_Private within the E_Client.

It's designed to store private data related to E_Client. This approach
prevents us from breaking ABI when adding or removing fields from the
E_Client structure. Instead, we can modify the E_Client_Private
structure as needed.

A pointer to E_Client_Private will be assigned to e_object's data and
accessed through e_object's data using e_object_data_{set,get}. So it's
crucial to ensure that no one overwrites it with different data using
e_object_data_set.

Change-Id: I4dff782d2d661f6eb0007253484640ebc9e3c2c4

13 months agoe_hwc_windows: synchronize present when below_transparent_window is unset 23/299223/1
Changyeon Lee [Thu, 21 Sep 2023 12:51:32 +0000 (21:51 +0900)]
e_hwc_windows: synchronize present when below_transparent_window is unset

if accepted state of hwc_window is changed Device to Client
but below_transparent_obj is displayed, black frame can be shown
even if below window is shown.
for fixing it, hwc synchronize hardware and evas compositing(present)
when below_transparent_window is unset.

Change-Id: I4e2ee5643ae8c882c2ed9aa7705d21e725e639ab

13 months agopackaging: Update version to tz8_2.0.1 19/299219/1 accepted/tizen/8.0/unified/20231005.094823 accepted/tizen/unified/20230925.160806 tizen_8.0_m2_release
SooChan Lim [Fri, 22 Sep 2023 01:22:17 +0000 (10:22 +0900)]
packaging: Update version to tz8_2.0.1

Change-Id: I1d29a0f9ae0a05befc134f1aae5af443196ed2ef

13 months agoe_client/e_zone: check saved size before calling defer move in unmaximize 18/299218/1
Doyoun Kang [Thu, 21 Sep 2023 10:42:59 +0000 (19:42 +0900)]
e_client/e_zone: check saved size before calling defer move in unmaximize

Change-Id: Ibf6dcebf2e0e4079af664392925d166fbc8d3cbe

13 months agopackaging: Update version to tz8_2.0.0 08/299208/1 accepted/tizen/unified/20230923.084316
Junseok Kim [Thu, 21 Sep 2023 10:59:25 +0000 (19:59 +0900)]
packaging: Update version to tz8_2.0.0

Change-Id: Iaafd854c9d763bc33ac7b9dcbc7fa499b70c2eb4

13 months agoe_client: disable transform core when client is hidden 06/299206/1
Changyeon Lee [Tue, 19 Sep 2023 10:41:34 +0000 (19:41 +0900)]
e_client: disable transform core when client is hidden

if texture memory is allocated for using evas map,
sometimes efl does not free texture memory until
evas_map is disabled or evas_map use direct render.
this patch makes e20 disable transform core(evas_map)
when client is hidden for optimazation gpu memory usage.

Change-Id: I9132876ee4b5aa5adccdfd5d2b1e5d94c3f04d60

13 months agoe_policy_visibility: do not defer move set when the client isn't mapped 05/299205/1
Junseok Kim [Wed, 20 Sep 2023 08:15:50 +0000 (17:15 +0900)]
e_policy_visibility: do not defer move set when the client isn't mapped

Change-Id: I931d19b2373b3256aa8777c0eb549d3ed20e7688

14 months agoe_hwc_windows: set device type to target window in client_type_override 60/299060/1
Changyeon Lee [Mon, 18 Sep 2023 09:05:26 +0000 (18:05 +0900)]
e_hwc_windows: set device type to target window in client_type_override

if e20 process many requests and events, handle of hwc_commit_handler
is delayed.
rendering of target buffer is also delayed because target window state
is changed after hwc_commit_handler is processed.
for rendering target buffer early, hwc set device type to target window
in client_type_override.

Change-Id: Ie2c8f23ff3f23cf2a9bbc6b56cc9e3f13d894e76

14 months agopackaging: update version to tz8_1.0.0 07/299007/1 accepted/tizen/unified/20230918.154742
SooChan Lim [Mon, 18 Sep 2023 06:39:59 +0000 (15:39 +0900)]
packaging: update version to tz8_1.0.0

Change-Id: I03f397febe3226a05037d36a817fb4a5b07eacd5

14 months agoe_input: check whether libinput handle is NULL 00/299000/2
Jihoon Kim [Thu, 14 Sep 2023 11:20:10 +0000 (20:20 +0900)]
e_input: check whether libinput handle is NULL

Change-Id: I8eb26c63a6985d75f12f5b85b81d77270b2b1144
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
14 months agoe_log: add logic to check eina_log_domain_register 99/298999/2
Jihoon Kim [Thu, 14 Sep 2023 11:18:02 +0000 (20:18 +0900)]
e_log: add logic to check eina_log_domain_register

Change-Id: I6f5d345e287e3ac1b96afd55709394751b866caf
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
14 months agoe_hwc_windows: add log when egl error occurs in ecore_evas_manual_render 96/298996/2
Changyeon Lee [Fri, 15 Sep 2023 07:48:48 +0000 (16:48 +0900)]
e_hwc_windows: add log when egl error occurs in ecore_evas_manual_render

Change-Id: Ia4723692e2617cc4b778a86b860889d441f9f370

14 months agoe_comp_wl_tizen_hwc: add queue buffer log of target window in timeout 95/298995/2
Changyeon Lee [Thu, 14 Sep 2023 12:54:47 +0000 (21:54 +0900)]
e_comp_wl_tizen_hwc: add queue buffer log of target window in timeout

Change-Id: I8ae250b6a45243809b4d768f6cb7ddbd310ff67d

14 months agoe_comp_wl_tizen_hwc: reduce log length 94/298994/2
Changyeon Lee [Thu, 14 Sep 2023 12:38:23 +0000 (21:38 +0900)]
e_comp_wl_tizen_hwc: reduce log length

pointer of resource is not needed

Change-Id: Ia88361e77d8b72278e75a0b6661cf38f20a43623

14 months agoe_comp: check if the focus is null 91/298991/1
SooChan Lim [Mon, 18 Sep 2023 05:58:34 +0000 (14:58 +0900)]
e_comp: check if the focus is null

Change-Id: I570940b2d887289f928a224d2e034d56dfcc9845

14 months agoRevert "e_comp_screen: create ds_gbm_server for supporting client gbm buffer" 85/298985/1
Changyeon Lee [Mon, 18 Sep 2023 05:16:31 +0000 (14:16 +0900)]
Revert "e_comp_screen: create ds_gbm_server for supporting client gbm buffer"

This reverts commit 86656ee2752c76c48d20cad615cb501d34656b99.

Change-Id: I36409b513c3a902c1302ae291d8cb9ac6410a413

14 months agoAdd e_client_under_position_input_get() 26/283226/4
Artur Świgoń [Thu, 20 Oct 2022 09:19:59 +0000 (11:19 +0200)]
Add e_client_under_position_input_get()

Similarly to e_client_under_position_get(), it performs a hit-test, but input
regions are also considered. If input regions are present, then the specified
position needs to be inside such a region.

Change-Id: Ie75c346ffc6e535fdb678e7b5748435f9a003bbb

14 months agocompositor: Add missed handling infinite input region 79/298979/2
Seunghun Lee [Thu, 14 Sep 2023 10:16:40 +0000 (19:16 +0900)]
compositor: Add missed handling infinite input region

Change-Id: I5f8267d2a47944f2dc99af6601717aa5276c5442

14 months agoe_comp_screen: create ds_gbm_server for supporting client gbm buffer 78/298978/1
Changyeon Lee [Mon, 4 Sep 2023 05:10:58 +0000 (14:10 +0900)]
e_comp_screen: create ds_gbm_server for supporting client gbm buffer

Change-Id: Ie089322cee37bd6cc16f682dbddf5ef29ab052c2

14 months agoe_input: send relative_motion in Ecore_Event_Mouse_Relative_Move cb func 34/298934/1
duna.oh [Fri, 15 Sep 2023 08:21:00 +0000 (17:21 +0900)]
e_input: send relative_motion in Ecore_Event_Mouse_Relative_Move cb func

when lock is activated in e_comp
-> e_comp sets func to let e_input know it is required to send
Ecore_Event_Mouse_Relative_Move instead of Ecore_Event_Mouse_Move.
-> in Ecore_Event_Mouse_Relative_Move cb, e_comp sends relative_motion events.

Change-Id: I548969a9a988bdfc5b644c2ff67080bfd9f8a5ee

14 months agoe_hwc_windows: fix the problem that window located under 24 depth window is visible 61/298861/1
Changyeon Lee [Wed, 13 Sep 2023 12:56:48 +0000 (21:56 +0900)]
e_hwc_windows: fix the problem that window located under 24 depth window is visible

if tdm backend set target buffer to upper hw layer that used device type window,
window located under 24 depth window can be visible when evas object is visible.

so to fix the problem, hwc set transparent object when bottom ui window is device type
and target window is enabled.

Change-Id: I4b7d708708fe534bec4974b32f8a6a4ff41d750f

14 months agopackaging: update version to tz8_0.1.0 54/298854/1 accepted/tizen/unified/20230915.085354
SooChan Lim [Thu, 14 Sep 2023 05:29:01 +0000 (14:29 +0900)]
packaging: update version to tz8_0.1.0

Change-Id: I94dd88d79897e5f5fcc9ae98b2116406afd3caca

14 months agoadd -Wall and -Werror 52/298852/1
SooChan Lim [Wed, 13 Sep 2023 08:02:18 +0000 (17:02 +0900)]
add -Wall and -Werror

It makes a build error at the case of a build warning.

Change-Id: Ic9d03885ef153f23df796ff20d9e67f7f49994b3

14 months agocompositor: Clear ds_subsurface's `reordered` flag 39/298839/2
Seunghun Lee [Thu, 14 Sep 2023 05:06:41 +0000 (14:06 +0900)]
compositor: Clear ds_subsurface's `reordered` flag

The `reordered` flag remained true even after updating subsurfaces'
stack order and it caused updating subsurfaces' stack order repeatedly
whenever surface commit happened.

Change-Id: I798d5628f30f5b355ac048f8801568daecef70e8

14 months agoe_input: add E_API e_input_device_mouse_accel_enable_set(device_name, enable) 38/298838/1
duna.oh [Wed, 13 Sep 2023 08:57:13 +0000 (17:57 +0900)]
e_input: add E_API e_input_device_mouse_accel_enable_set(device_name, enable)

use this API to enable/disable acceleration state on each devices

Change-Id: I055244d868ec946e6998435179917c2b4048d23c

14 months agoE_Client: Fix build warning of unused variable 64/298764/1 accepted/tizen/unified/20230914.100405
Seunghun Lee [Wed, 13 Sep 2023 07:12:58 +0000 (16:12 +0900)]
E_Client: Fix build warning of unused variable

Change-Id: Ib05e3bdd3821e07c4de3c34425528a17b741359f

14 months agopackaging: update version to tz8_0.0.1 46/298746/1
SooChan Lim [Wed, 13 Sep 2023 04:52:00 +0000 (13:52 +0900)]
packaging: update version to tz8_0.0.1

Change-Id: I62d0800cbfe294f5a7a9fbeef88d9ae18fa671ec

14 months agoe_comp_wl_data: Add NULL check before use new_offer 36/298736/1
Junseok Kim [Wed, 13 Sep 2023 04:44:01 +0000 (13:44 +0900)]
e_comp_wl_data: Add NULL check before use new_offer

Change-Id: I35e26d2f283f5434b8db5f1e82ca6573e3ca6cdc

14 months agoe_input_device: fix typo in function name 26/298726/2
Jihoon Kim [Wed, 13 Sep 2023 02:34:25 +0000 (11:34 +0900)]
e_input_device: fix typo in function name

Change-Id: Ifd0fa4be5d0119470f2a70fa0e9cf3ea93aac9cb

14 months agoe_comp_wl: fix missing null check issue 25/298725/2
Jihoon Kim [Wed, 13 Sep 2023 02:30:33 +0000 (11:30 +0900)]
e_comp_wl: fix missing null check issue

Change-Id: Iab265105ce5cedd3c0f952e6f5ea6e7bffc25a92
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
14 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

14 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

14 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

14 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

14 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