platform/upstream/enlightenment.git
17 months agoe_dnd: remove ECORE_EVENT_KEY_DOWN/UP code 07/293307/2
Doyoun Kang [Wed, 24 May 2023 06:48:45 +0000 (15:48 +0900)]
e_dnd: remove ECORE_EVENT_KEY_DOWN/UP code

Change-Id: I6f0269df9a71e4d5e370b7f42074a6b751f06cba

17 months agoe_comp_object: remove ECORE_EVENT_KEY_DOWN code 06/293306/2
Doyoun Kang [Wed, 24 May 2023 06:48:07 +0000 (15:48 +0900)]
e_comp_object: remove ECORE_EVENT_KEY_DOWN code

Change-Id: Ia05048787f5388739818a1711164261df2afdc8b

17 months agoe_comp: remove ECORE_EVENT_KEY_DOWN code 05/293305/2
Doyoun Kang [Wed, 24 May 2023 06:47:37 +0000 (15:47 +0900)]
e_comp: remove ECORE_EVENT_KEY_DOWN code

Change-Id: Ia4c110de58e473d594e258aaf32cc9b43baf8dbe

17 months agoe_client: remove ECORE_EVENT_KEY_DOWN code 04/293304/2
Doyoun Kang [Wed, 24 May 2023 06:47:00 +0000 (15:47 +0900)]
e_client: remove ECORE_EVENT_KEY_DOWN code

Change-Id: Ib70c887aef12bf3a8b05d33b8cd1b6f7367aa337

17 months agoe_comp_wl_data: Make unfocused client can start drag 83/293183/3
Junseok Kim [Tue, 16 May 2023 04:42:35 +0000 (13:42 +0900)]
e_comp_wl_data: Make unfocused client can start drag

Past drag and drop can start only focused client.
But the display server supports touch interaction,
and there're some clients have to use Drag & Drop without focused. (e.g. softkey)

For these clients, enable client to start drag that unfocused.

Change-Id: Iad8414b847f3208989ffbd1aa82992257fc5faa1

17 months agoe_comp_wl: add ttrace between idle exiter and cb prepare 69/293269/1
Changyeon Lee [Mon, 22 May 2023 06:40:03 +0000 (15:40 +0900)]
e_comp_wl: add ttrace between idle exiter and cb prepare

Change-Id: I36dd35e333c299b55c38d5b37ba0fe6913d69cb8

17 months agoe_hwc_windows: add ttrace at e_hwc_windows_commit 68/293268/1
Changyeon Lee [Mon, 22 May 2023 06:37:38 +0000 (15:37 +0900)]
e_hwc_windows: add ttrace at e_hwc_windows_commit

Change-Id: I5f3c06dc84076e76dff07eae7754ae08a4b12444

17 months agoe_comp_object: add ttrace at evas_object_image_native_surface_set 67/293267/1
Changyeon Lee [Mon, 22 May 2023 06:36:36 +0000 (15:36 +0900)]
e_comp_object: add ttrace at evas_object_image_native_surface_set

Change-Id: I0ad9a9a8c7644952169fa9046ae404b98284cfb1

17 months agoe_comp_wl: add checking if e_comp->pointer is null 82/293182/1
duna.oh [Mon, 22 May 2023 05:44:29 +0000 (14:44 +0900)]
e_comp_wl: add checking if e_comp->pointer is null

Change-Id: I9967ef30abb72dd97d59f2bc65b3287e06e3f576

17 months agoe_pointer: add null checking in e_pointer_object_set() 69/293169/1
duna.oh [Mon, 22 May 2023 02:15:09 +0000 (11:15 +0900)]
e_pointer: add null checking in e_pointer_object_set()

Change-Id: I2ff3a61e21a6bcf4d296eb793a8fe1e03099b509

17 months agoe_comp_wl: add break in switch in _e_comp_wl_cursor_timer_control() 68/293168/1
duna.oh [Mon, 22 May 2023 01:56:55 +0000 (10:56 +0900)]
e_comp_wl: add break in switch in _e_comp_wl_cursor_timer_control()

Change-Id: I57182350abbeaedf9484811a5cc601cd3a2598f4

17 months agoe_comp_wl: add null checking in e_comp_wl_input_cursor_timer_enable_set() 67/293167/1
duna.oh [Mon, 22 May 2023 01:00:37 +0000 (10:00 +0900)]
e_comp_wl: add null checking in e_comp_wl_input_cursor_timer_enable_set()

Change-Id: I22c1cfa7b1da182978314cdcbb8e9f28f17f8da9

17 months agoe_policy_wl: add privilege for taskbar service window
Doyoun Kang [Thu, 18 May 2023 01:50:48 +0000 (10:50 +0900)]
e_policy_wl: add privilege for taskbar service window

Change-Id: I683584cd6e996cb8908ac1e5989e5f9485cfcdcc

17 months agoviewport: Fix wrong use of e_client_from_surface_resource()
Seunghun Lee [Thu, 18 May 2023 01:47:07 +0000 (10:47 +0900)]
viewport: Fix wrong use of e_client_from_surface_resource()

This has been used with a wrong wl_resource. This meant to be used with
wl_surface resource.

Change-Id: I1d53313624446ecea4553f38b4358b2dc652f9e6

17 months agoe_comp_wl: fix to set ec->pointer_enter_sent in mouse_in/out_send() and out()
duna.oh [Tue, 16 May 2023 06:03:00 +0000 (15:03 +0900)]
e_comp_wl: fix to set ec->pointer_enter_sent in mouse_in/out_send() and out()

Change-Id: Ibbfa26825fa0021068e50f24ce6d24aa6a4473f3

18 months agoe_comp_wl: add function to check if cursor timer is needed to apply 62/292862/1
duna.oh [Thu, 11 May 2023 09:43:52 +0000 (18:43 +0900)]
e_comp_wl: add function to check if cursor timer is needed to apply

Change-Id: I2ee45838328a2f18056d6fd89c9717dee0160f64

18 months agoe_comp_wl_input: do not apply cursor timer logic if client has unset cursor 61/292861/1
duna.oh [Thu, 11 May 2023 00:42:58 +0000 (09:42 +0900)]
e_comp_wl_input: do not apply cursor timer logic if client has unset cursor

add has_cursor_unset member variable in E_Client struct.
If ec->has_cursor_unset is TRUE, do not apply cursor timer logic which is
to hide cursor when mouse event doesn't come (idle for such sec.) and to show
cursor when mouse event starts to come.

Change-Id: I2442ac345832b2795bf211db3c6a18f35df76595

18 months agoe_comp_wl: add checking pointer_enter_sent in _e_comp_wl_cursor_reload() 60/292860/1
duna.oh [Wed, 10 May 2023 07:33:29 +0000 (16:33 +0900)]
e_comp_wl: add checking pointer_enter_sent in _e_comp_wl_cursor_reload()

Change-Id: I0b30aeb0e80ed8f2726eaeda42e8e78f1bf5a71f

18 months agoe_comp_wl_input: add checking show_cursor before setting cursor's visible TRUE 59/292859/1
duna.oh [Wed, 10 May 2023 07:02:38 +0000 (16:02 +0900)]
e_comp_wl_input: add checking show_cursor before setting cursor's visible TRUE

Change-Id: I7978a61c6f71cb976c0428c7927e63fe5423ee54

18 months agoe_pointer: refactoring e_pointer_object_set() 58/292858/1
duna.oh [Wed, 10 May 2023 07:00:15 +0000 (16:00 +0900)]
e_pointer: refactoring e_pointer_object_set()

Change-Id: Ic5c9e2a6c50e30e9a6d12e6d9b8b1f38ee0cd095

18 months agoe_comp_wl: add intercept hooks for cursor timer when mouse wheel/down/up 57/292857/1
duna.oh [Wed, 10 May 2023 05:11:02 +0000 (14:11 +0900)]
e_comp_wl: add intercept hooks for cursor timer when mouse wheel/down/up

Change-Id: I00467aa607b43a5f8e463e5e44394b26d7e8eb79

18 months agoRevert "Revert "e_comp_object: make the frame object transparent when it is unredirec... 22/292822/1
Changyeon Lee [Mon, 15 May 2023 03:07:47 +0000 (12:07 +0900)]
Revert "Revert "e_comp_object: make the frame object transparent when it is unredirected""

This reverts commit 521314d7db521047cb2e2aaff06b450046e12e36.

e_comp_object_color_get return user_color of trasnparent if transparent is set

Change-Id: Ic465c0d141994a08ec9684abf6257a8ece77d89e

18 months agoe_info: add -win_id option to fps 07/292807/1
Changyeon Lee [Wed, 10 May 2023 11:37:27 +0000 (20:37 +0900)]
e_info: add -win_id option to fps

winfo -fps -win_id [win_id] : print client fps.

Change-Id: Ia524c8edd19ba95b6e52cd32a16dd3252a27d539

18 months agoe_input: add checking TOUCH capability in e_input_device_pointer_xy_get() 94/292694/1
duna.oh [Thu, 11 May 2023 08:30:49 +0000 (17:30 +0900)]
e_input: add checking TOUCH capability in e_input_device_pointer_xy_get()

seat->ptr.x/y could be updated by TOUCH or POINTER device.
This patch fixes the bug that if no POINTER device is attached, user couldn't
get the right values of ptr.x/y.

Change-Id: I9a8c7b708882a30a81a02db6ad6f4d2a4a87aed8

18 months agoe_comp_object: do not check r, g, b color when checking visible of object 65/292665/1
Changyeon Lee [Wed, 10 May 2023 03:05:10 +0000 (12:05 +0900)]
e_comp_object: do not check r, g, b color when checking visible of object

if alpha is greater than 0 and r, g, b color are zero, object is visible.

Change-Id: Id164e094f0be6d468c25f2cc773f4bd0a0740c79

18 months agoe_comp: remove the unused varriables at E_Comp 51/292651/1
SooChan Lim [Wed, 10 May 2023 05:19:32 +0000 (14:19 +0900)]
e_comp: remove the unused varriables at E_Comp

Change-Id: Ia773be8a8bbb4a1cf23bb05dc75a4b940b0675b4

18 months agoe_comp: remove E_EVENT_COMPOSITOR_RESIZE 50/292650/1
SooChan Lim [Wed, 10 May 2023 02:28:57 +0000 (11:28 +0900)]
e_comp: remove E_EVENT_COMPOSITOR_RESIZE

It is not used anymore.

Change-Id: I07b7377b80a9f01661f25a767a407ae7dd7eac9c

18 months agoe_comp: remove E_EVENT_COMPOSITOR_FPS_UPDATE 49/292649/1
SooChan Lim [Wed, 10 May 2023 02:25:26 +0000 (11:25 +0900)]
e_comp: remove E_EVENT_COMPOSITOR_FPS_UPDATE

It is not used anymore

Change-Id: Ie6bca0cf5845bff6c8fa431081a57f4e91ecb446

18 months agoe_comp_wl: remove E_Comp_Wl_Transform_Context 48/292648/1
SooChan Lim [Wed, 10 May 2023 02:00:42 +0000 (11:00 +0900)]
e_comp_wl: remove E_Comp_Wl_Transform_Context

It is not used anymore

Change-Id: I0d84543dbfdf038c60d2dd53cccc3499e062925e

18 months agoe_comp_wl: remove EGL_HEIGHT and EGL_WIDTH 47/292647/1
SooChan Lim [Wed, 10 May 2023 01:57:57 +0000 (10:57 +0900)]
e_comp_wl: remove EGL_HEIGHT and EGL_WIDTH

It is useless

Change-Id: I02237c5c33566abf10f8f3c6bc24ed541418f6b7

18 months agoe_comp_wl: remove E_EVENT_WAYLAND_GLOBAL_ADD 46/292646/1
SooChan Lim [Wed, 10 May 2023 01:56:57 +0000 (10:56 +0900)]
e_comp_wl: remove E_EVENT_WAYLAND_GLOBAL_ADD

It is not used anymore.

Change-Id: I9be9f0d07f84f38cc874578f3f4bf08b9c00e907

18 months agoe_comp_wl_shell: Use e_client_from_surface_resource() 30/292630/2
Seunghun Lee [Wed, 10 May 2023 07:20:26 +0000 (16:20 +0900)]
e_comp_wl_shell: Use e_client_from_surface_resource()

Change-Id: I4bc0ec4a1f8916adbaa9c091249983495137b766

18 months agoe_comp_object: make e_comp_object_init/shutdown functions 24/292624/2
SooChan Lim [Wed, 10 May 2023 01:16:13 +0000 (10:16 +0900)]
e_comp_object: make e_comp_object_init/shutdown functions

and generate the new event types for the e_comp_object at e_comp_object_init functions
instead of doing that at e_comp.c file.

Change-Id: I51ed258bfaa4bf5e2bd90b74448777e8332d49ab

18 months agoe_pixmap: move E_PIXMAP_HOOK_APPEND to e.h file 21/292621/1
SooChan Lim [Tue, 9 May 2023 11:42:45 +0000 (20:42 +0900)]
e_pixmap: move E_PIXMAP_HOOK_APPEND to e.h file

Change-Id: Ie7395f167760340761b4425124a9deda80773047

18 months agoe_output: move E_OUTPUT_HOOK_APPEND to e.h file 20/292620/1
SooChan Lim [Tue, 9 May 2023 11:39:42 +0000 (20:39 +0900)]
e_output: move E_OUTPUT_HOOK_APPEND to e.h file

Change-Id: I9f914cdca537a2fa7699ce7d13fc51d29e1f8a0f

18 months agoe_client: define E_CLIENT_HOOK_APPEND macro at e.h 19/292619/1
SooChan Lim [Tue, 9 May 2023 11:31:44 +0000 (20:31 +0900)]
e_client: define E_CLIENT_HOOK_APPEND macro at e.h

Remove other definitions at files except for e.h file.

Change-Id: I04a114bebae1f2253fc6ebd74e819efee68ddd4e

18 months agoe_policy: remove E_COMP_WL_HOOK_APPEND definition 18/292618/1
SooChan Lim [Tue, 9 May 2023 11:24:06 +0000 (20:24 +0900)]
e_policy: remove E_COMP_WL_HOOK_APPEND definition

e_policy can use the E_COMP_WL_HOOK_APPEND macro defining at e.h file
intead of this.

Change-Id: Id8caf64fa51ed46a5fbf7df527b7c4274607d4dc

18 months agoe_comp_object: define E_COMP_OBJECT_INTERCEPT_HOOK_APPEND macro at e.h 17/292617/1
SooChan Lim [Tue, 9 May 2023 11:20:45 +0000 (20:20 +0900)]
e_comp_object: define E_COMP_OBJECT_INTERCEPT_HOOK_APPEND macro at e.h

Remove other definitions at files except for e.h file.

Change-Id: If7ccbdc2a39ba1138add4682e425c9e88630effe

18 months agosubsurface: Use e_client_from_surface_resource() 94/292594/1
Seunghun Lee [Wed, 10 May 2023 04:35:10 +0000 (13:35 +0900)]
subsurface: Use e_client_from_surface_resource()

Change-Id: I7284152973a0872640b2ad065b0648f6f2d5c5b2

18 months agoe_hwc_window: calculate fps of hw cursor 56/292556/3
Changyeon Lee [Tue, 2 May 2023 02:51:09 +0000 (11:51 +0900)]
e_hwc_window: calculate fps of hw cursor

Change-Id: I2679ca9ca30da11cf0983c5e276088ade173281d

18 months agoUse e_client_from_surface_resource() 54/292554/2
Seunghun Lee [Tue, 9 May 2023 06:23:42 +0000 (15:23 +0900)]
Use e_client_from_surface_resource()

Use e_client_from_surface_resource() instead of
wl_resource_get_user_data() directly.

Change-Id: Ie8dda92cbf81de5760d9090e64bbb2b02c8ae0e9

18 months agoe_client: Introduce e_client_from_surface_resource() 53/292553/2
Seunghun Lee [Tue, 9 May 2023 05:00:50 +0000 (14:00 +0900)]
e_client: Introduce e_client_from_surface_resource()

The wl_resource_get_user_data() has been used to get the corresponding
E_Client instance. To stop using wl_resource_get_user_data() directly,
this patch introduces a wrapper API. So, from now on,
e_client_from_surface_resource() has to be used instead of
wl_resource_get_user_data().

There could be some advantages with this API.

Firstly, as long as this API keeps returning E_Client instance, we can
change user data of surface resource if necessary.

Secondly, e_client_from_surface_resource() can check given surface
resource to see if it's actually associated with E_Client. If given
wl_resource isn't the one associated with E_Client, then it could return
NULL so that the caller would fail fast. Or, the caller would end up
manipulating the returned pointer of wl_resource_get_user_data() without
knowing it's not the correct instance.

Change-Id: I7fdc19a6b4cba647c314c32ae36ab847ca459ff7

18 months agoe_client: use e_client_raise during layer set by desk area 52/292552/2
Junseok Kim [Tue, 9 May 2023 11:15:11 +0000 (20:15 +0900)]
e_client: use e_client_raise during layer set by desk area

There was a bug that client raised to the topmost of the stack even if there're other higher E_Desk_Area.
It caused by stack change without consider E_Desk_Area.
For fix this issue, use e_client_raise instead of evas_object_raise on layer set by desk area.

Change-Id: I72c00a2a8917775641a8ec31d1c7357b408e7db4

18 months agoe_zone: remove E_EVENT_POINTER_WARP 21/292521/3
SooChan Lim [Tue, 9 May 2023 05:45:34 +0000 (14:45 +0900)]
e_zone: remove E_EVENT_POINTER_WARP

It is not used anymore

Change-Id: I6ce3ca7f47e0d60fcf2d605a8f2283f19ca810ad

18 months agoe_slot: remove e_slot and e_splitlayout 20/292520/3
SooChan Lim [Wed, 3 May 2023 11:51:13 +0000 (20:51 +0900)]
e_slot: remove e_slot and e_splitlayout

e_slot and e_splitlayout are not used anymore.
They are deprecated.

Change-Id: I4434c0db552779fda4f976b99f9fabd19ec18748

18 months agoe_comp_object: add e_comp_object_color_get 33/292533/1
Changyeon Lee [Tue, 9 May 2023 08:28:03 +0000 (17:28 +0900)]
e_comp_object: add e_comp_object_color_get

Change-Id: Iaac99b24ff8b8d13e72bd12d9af7b9ff72af9bdc

18 months agoe_magnifier: make the functions be internal 19/292519/2
SooChan Lim [Wed, 3 May 2023 11:22:28 +0000 (20:22 +0900)]
e_magnifier: make the functions be internal

Change-Id: I112ef05b29a1492509ebd291f88deaf3c0a1f255

18 months agoe_path: make the functions be internal 18/292518/2
SooChan Lim [Wed, 3 May 2023 11:13:36 +0000 (20:13 +0900)]
e_path: make the functions be internal

Change-Id: I9d4b83f7ca5c1644a340c8c64219910f187cc6b1

18 months agoe_theme: make the functions be internal 17/292517/2
SooChan Lim [Wed, 3 May 2023 11:07:02 +0000 (20:07 +0900)]
e_theme: make the functions be internal

Change-Id: I8bd42a1067fffb17b7c74b2e8695a2f505541164

18 months agoe_prefix: make the functions be internal 16/292516/2
SooChan Lim [Wed, 3 May 2023 10:58:52 +0000 (19:58 +0900)]
e_prefix: make the functions be internal

Change-Id: I4316d9387f90d41f266de99bf601185135122afc

18 months agoe_bg: make the functions be internal 14/292514/2
SooChan Lim [Wed, 3 May 2023 10:06:45 +0000 (19:06 +0900)]
e_bg: make the functions be internal

Change-Id: Ie118ba00037995802c872e052f8aa8f8ec428c4e

18 months agoe_bindings: make the functions be internal 13/292513/2
SooChan Lim [Wed, 3 May 2023 09:56:01 +0000 (18:56 +0900)]
e_bindings: make the functions be internal

Change-Id: Ic258a8ce09a851cb5def5d899c0d2df924c71446

18 months agoe_actions: make the functions be internal 12/292512/2
SooChan Lim [Wed, 3 May 2023 08:53:51 +0000 (17:53 +0900)]
e_actions: make the functions be internal

Change-Id: Iae81439d93a7816dfe90b24074ffced0d1e59dc1

18 months agoe_util: remove e_util_immortal_check 11/292511/1
SooChan Lim [Tue, 2 May 2023 02:01:36 +0000 (11:01 +0900)]
e_util: remove e_util_immortal_check

It is deprecated.

Change-Id: Id55b2948b29ceb00290dd4ea93af284253ebbb5f

18 months agoe_client: remove e_clients_immortal_list 10/292510/1
SooChan Lim [Tue, 2 May 2023 01:59:54 +0000 (10:59 +0900)]
e_client: remove e_clients_immortal_list

It is deprecated.

Change-Id: I0259dc1369be426f9b73fd561207eed3053265ab

18 months agoe_comp_wl: remove the use of session-recovery protocol 09/292509/1
SooChan Lim [Sun, 30 Apr 2023 08:35:37 +0000 (17:35 +0900)]
e_comp_wl: remove the use of session-recovery protocol

It is not used.

Change-Id: I03c2f678cf598a79917bb871c431266cef92614b

18 months agoe_pixmap: remove e_pixmap_is_x 08/292508/1
SooChan Lim [Sun, 30 Apr 2023 08:02:16 +0000 (17:02 +0900)]
e_pixmap: remove e_pixmap_is_x

It is deprecated.

Change-Id: I4758ba93d6ed1f03868d968cf0df64175f7d6677

18 months agoe_pixmap: remove E_PIXMAP_TYPE_X 07/292507/1
SooChan Lim [Sun, 30 Apr 2023 07:54:56 +0000 (16:54 +0900)]
e_pixmap: remove E_PIXMAP_TYPE_X

It is deprecated.

Change-Id: Ia414b70b0366c6736710366ffb4e74297db09a9d

18 months agoe_client: remove e_client_has_xwindow 06/292506/1
SooChan Lim [Sun, 30 Apr 2023 07:42:24 +0000 (16:42 +0900)]
e_client: remove e_client_has_xwindow

It is deprecated.

Change-Id: Ic55c4fecb8aeb01178e7f7c95d27297fa65b549c

18 months agoe_config: remove e_config_mode_changed 05/292505/1
SooChan Lim [Sun, 30 Apr 2023 07:36:17 +0000 (16:36 +0900)]
e_config: remove e_config_mode_changed

e_config_mode_changed deprecated

Change-Id: I2a746c3b49233b7ab6c09390686ecd5b48760266

18 months agoe_config: remove E_EVENT_CONFIG_MODE_CHANGED 04/292504/1
SooChan Lim [Sun, 30 Apr 2023 07:34:31 +0000 (16:34 +0900)]
e_config: remove E_EVENT_CONFIG_MODE_CHANGED

E_EVENT_CONFIG_MODE_CHANGED is not used anywhere.

Change-Id: I1a8e467d4864518947fbce02eedc21f6b8c5894b

18 months agoviewport: Remove superfluous debug message 97/292497/1
Seunghun Lee [Tue, 2 May 2023 02:02:37 +0000 (11:02 +0900)]
viewport: Remove superfluous debug message

It's been unnecessarily printed too much in some cases.

Change-Id: I55ef1c531138dc1f9d17c6beac4eba03423c0c3a

18 months agoAdd code to update the layout_apply information 61/292361/1
Doyoun Kang [Thu, 4 May 2023 08:04:56 +0000 (17:04 +0900)]
Add code to update the layout_apply information

We update the layout_apply value of EC to EINA_TRUE when the user requests to layout_set.
And we change it to EINA_FALSE when the user requests to maximize, unmaximize and
interactive move or resize.

Change-Id: Ib8f3a88d8689aad625b2cdaa453548a98ab39d5b

18 months agowinfo: add layout_apply info to topvwins option 60/292360/1
Doyoun Kang [Thu, 4 May 2023 08:01:59 +0000 (17:01 +0900)]
winfo: add layout_apply info to topvwins option

Change-Id: I1f36b43861a7d73a1b22799cc17fa288c0f09a01

18 months agoe_client: add the layout_apply value and APIs 59/292359/1
Doyoun Kang [Thu, 4 May 2023 07:56:03 +0000 (16:56 +0900)]
e_client: add the layout_apply value and APIs

We added the layout_apply code to maintain the state of layout_set as below.
1. add a layout_apply value in E_Client structure
2. add new APIs for setting/getting the layout_set apply state.
   - void e_client_layout_apply(E_Client *ec, Eina_Bool apply);
   - Eina_Bool e_client_is_layout_apply(E_Client *ec);

Change-Id: Ia785e49749b1f12173e2ba76ff2e16d09c1aca59

18 months agoRevert "e_comp_object: make the frame object transparent when it is unredirected" 43/292343/1
Changyeon Lee [Thu, 4 May 2023 08:19:14 +0000 (17:19 +0900)]
Revert "e_comp_object: make the frame object transparent when it is unredirected"

This reverts commit d4cf397796ff40363042ad4c8abbade4b1facddb.

Change-Id: I8ab5ea025607e46697015426c8a3fba09e4c7c43

18 months agoe_service_gesture: do not raise a gesture without 1st finger event 41/292241/1
duna.oh [Tue, 2 May 2023 04:49:47 +0000 (13:49 +0900)]
e_service_gesture: do not raise a gesture without 1st finger event

e_service_gesture expects multi-touch events coming after 1st finger events.
There was the bug that a gesture started from 2nd finger event and
didn't end properly since 1st finger was consumed by e-mod screen reader.
This patch add prevention check if 1st finger did come or not.

Change-Id: Ied7f991671eceb7c57aa1b78fe5fcf495b1503dd

18 months agoe_policy: add callback for E_EVENT_ZONE_USEFUL_GEOMETRY_CHANGE 09/292209/2 accepted/tizen/unified/20230528.171009
Doyoun Kang [Fri, 28 Apr 2023 08:11:14 +0000 (17:11 +0900)]
e_policy: add callback for E_EVENT_ZONE_USEFUL_GEOMETRY_CHANGE

We add a E_EVENT_ZONE_USEFUL_GEOMETRY_CHANGE event callback function.
If the useful geometry of E_Zone is changed, then we re-calculate the
geometry of a maximize state windows.

Change-Id: I1d2fcb026f630c082fb47643c8ba36575159c6ac

18 months agoe_client: add e_client_maximize_update function 08/292208/2
Doyoun Kang [Fri, 28 Apr 2023 08:07:53 +0000 (17:07 +0900)]
e_client: add e_client_maximize_update function

Change-Id: Ibba81a6ee1e3b56f9fb77d7f6042af16c4ada1f7

18 months agoChange maximize type for service windows 07/292207/2
Doyoun Kang [Fri, 28 Apr 2023 07:59:26 +0000 (16:59 +0900)]
Change maximize type for service windows

We changed a maximize type of special windows (such as service windows)
to MAXIMIZE_FULLSCREEN.
For this patch, if the obsctacle windows (ex, taskbar) are exist, the special
windows are maximized regardless of obstacles area.

FYI, normal window's default maximize type is E_MAXIMIZE_EXPAND and it's
maximize geometry is affected by obstacle area.

Change-Id: Ia17189a68d5a9ab068ed49c2c94ff98fa5f8a621

18 months agoe_comp_object: modify e_comp_intercept_resize 68/292168/1
Doyoun Kang [Fri, 28 Apr 2023 06:36:01 +0000 (15:36 +0900)]
e_comp_object: modify e_comp_intercept_resize

When e calls evas_object_resize, then _e_comp_intercept_resize is called.
In this callback function, if the window is not ready to be resized for
various reasons (such as not yet visible), we should call e_client_size_set
to update ec's size only if the current ec's size and new size are different.
We don't check the maximize state of window because the window size may
change depending on the maximize type.

Change-Id: Ib1b60c532f0f34b84e791b7d75b04e8f8c843713

18 months agoe_zone: add Event for useful_geometry_change 61/292161/1
Doyoun Kang [Fri, 28 Apr 2023 05:13:36 +0000 (14:13 +0900)]
e_zone: add Event for useful_geometry_change

We add a new event - E_EVENT_ZONE_USEFUL_GEOMETRY_CHANGE.
This event is generated when an obstacle is added/removed/modified.

Change-Id: I613a335f6040318172476e5cf2b46f0273536355

18 months agoe_dbus_conn : set ecore thread name 29/292129/1
Junkyeong Kim [Thu, 27 Apr 2023 07:06:50 +0000 (16:06 +0900)]
e_dbus_conn : set ecore thread name

Change-Id: Ie8d62b8fe37878d2a4c299020fd2d70cd76c9873

18 months agoe_comp_wl_capture : set ecore thread name 28/292128/1
Junkyeong Kim [Thu, 27 Apr 2023 07:01:32 +0000 (16:01 +0900)]
e_comp_wl_capture : set ecore thread name

Change-Id: I54fb7b01fcc63e8c0cba46a1eca24a5edc743da8

18 months agosupport taskbar_service 16/292116/2 accepted/tizen/unified/20230428.155115
Doyoun Kang [Tue, 25 Apr 2023 09:24:58 +0000 (18:24 +0900)]
support taskbar_service

Change-Id: Id628e55061fa8b91dec221753bb8ed9e5a06b1f3

18 months agoe_client: use e_zone_desk_useful_geometry_get in e_client_maximize 15/292115/2
Doyoun Kang [Tue, 25 Apr 2023 12:48:15 +0000 (21:48 +0900)]
e_client: use e_zone_desk_useful_geometry_get in e_client_maximize

Change-Id: I62adb5fdcc91ef70b1cd352cabaa407fb5be0b9d

18 months agoe_zone: add E_Zone_Obstacle feature 14/292114/2
Doyoun Kang [Tue, 25 Apr 2023 12:46:58 +0000 (21:46 +0900)]
e_zone: add E_Zone_Obstacle feature

Change-Id: I1fe0d3b7d99fdb84795939c210a7822b406a9300

18 months agovideo: Do not initialize hwc backend with the same zone 11/292111/2
Seunghun Lee [Tue, 25 Apr 2023 08:43:42 +0000 (17:43 +0900)]
video: Do not initialize hwc backend with the same zone

When an E_EVENT_CLIENT_ZONE_SET event issues, it has to check the given
zone to see if it is the same as previous zone to prevent from
initializing hwc backend again unnecessarily.

Change-Id: I0b792bac6368414269c791587da0e5661dc5cbf2

18 months agoe_comp_object: make the frame object transparent when it is unredirected 07/292107/1
Changyeon Lee [Mon, 24 Apr 2023 07:58:13 +0000 (16:58 +0900)]
e_comp_object: make the frame object transparent when it is unredirected

glTexImage2D is called in next render if the frame object is redirected
because it does not have native buffer and it is visible.

we makes the frame object transparent and evas does not render
the frame object.(glTexImage2D is not called)

this patch optimizes gpu memory usage.

Change-Id: I73a99ec8039d3093d7f1fad8edd40a21d951a00f

18 months agoe_desk_area: maximize client that locked client size when desk area geom apply 82/292082/1
Junseok Kim [Wed, 26 Apr 2023 09:47:36 +0000 (18:47 +0900)]
e_desk_area: maximize client that locked client size when desk area geom apply

Change-Id: I5e600678f09e9488cdf5aceeedf5e7419ac1799a

18 months agovideo: Fix render failure for 1x1 size 87/291787/1 accepted/tizen/unified/20230531.151935
Seunghun Lee [Fri, 21 Apr 2023 05:13:10 +0000 (14:13 +0900)]
video: Fix render failure for 1x1 size

While determining whether the given vertices represent the portrait or
the landscape rectangle, the margin of 1 pixel has been used because
sometimes there has been 1 pixel difference between two adjacent
vertices. This could be because of evas map algorithm, but I'm not sure.

If the dimension of rectangle would be 1x1 it wouldn't be worked, so if
the given vertices represent the rectangle that has 1x1 dimension, then
no margin would be used.

Change-Id: I0c776060ed3124dfd72717e474f193929ae51c6a

18 months agoe_client: remove the internal_elm_win 96/291696/1
SooChan Lim [Thu, 20 Apr 2023 07:10:17 +0000 (16:10 +0900)]
e_client: remove the internal_elm_win

internel_elm_win var is useless.

Change-Id: I8b171c42b1e5bbc1737f0c2b8cf450d030d5cb11

18 months agoe_hwc_window: fix problem that cursor window is freed even if it is displayed 88/291688/1 accepted/tizen/unified/20230421.103339
Changyeon Lee [Thu, 20 Apr 2023 06:55:51 +0000 (15:55 +0900)]
e_hwc_window: fix problem that cursor window is freed even if it is displayed

buffer_ref of commit data can be changed to null when client destroy wl_buffer.
the problem is occurred when client destroy wl_buffer between commit and
commit_handler.

this patch use cursor info of the commit_data  instead buffer_ref for checking
whether the commit_data enable/disable display.

Change-Id: I23d3c986a499c0bdfe81495e9c166a4f82c32f91

18 months agoe_client: inherit parent's zoom when transform core update 71/291671/1
Junseok Kim [Wed, 19 Apr 2023 05:11:05 +0000 (14:11 +0900)]
e_client: inherit parent's zoom when transform core update

Change-Id: I5f0c8415f95eadba1e335eaebe23f0eee8417c74

18 months agoe_policy_wl: send configure event while handling tizen_policy_set_layout request 45/291645/1 accepted/tizen/unified/20230420.091932
Doyoun Kang [Wed, 19 Apr 2023 01:16:58 +0000 (10:16 +0900)]
e_policy_wl: send configure event while handling tizen_policy_set_layout request

Change-Id: Id2889160e456dd1596aa21e2ab3fa0e850e7de71

18 months agoe_comp_wl/e_xdg_shell: modify code for handling configure event size 44/291644/1
Doyoun Kang [Wed, 19 Apr 2023 00:24:29 +0000 (09:24 +0900)]
e_comp_wl/e_xdg_shell: modify code for handling configure event size

We modify code to call configure_send function with width and height are -1 when only
the window's state is changed.
If the width and height are -1, this means we don't need to consider the size value
while sending configure event.

So, in this case, we don't update the configure size value.

Change-Id: I5d75520c915acc5b558d63524b638761f2242626

19 months agoe_input: fix build warning about unused function 51/291551/1
duna.oh [Tue, 18 Apr 2023 06:12:40 +0000 (15:12 +0900)]
e_input: fix build warning about unused function

The function '_device_handle_axis()' is only used
when LIBINPUT_HAVE_SCROLL_VALUE120 is undefined.

Change-Id: I8e1ae2db20074a300342d30f691b7c23d4ca4881

19 months agoe_info: add -use_cursor_timer option in winfo (enlightenment_info) 26/291526/1
duna.oh [Tue, 18 Apr 2023 03:59:05 +0000 (12:59 +0900)]
e_info: add -use_cursor_timer option in winfo (enlightenment_info)

new option 'use_cursor_timer' to enable/disable cursor_timer
which hides cursor when no mouse events comes
ex) winfo -use_cursor_timer [1:on] [0:off]

Change-Id: I1d8b0ba28650885c333b64f0623f6416c4ef985a

19 months agoe_config: add a new configuration - wm_win_rotation_swap_size 15/291515/1 accepted/tizen/unified/20230419.044957
Doyoun Kang [Tue, 18 Apr 2023 02:12:08 +0000 (11:12 +0900)]
e_config: add a new configuration - wm_win_rotation_swap_size

If this config is enabled, then window size can be swapped when it is rotated.
But it's up to e-module which is in charge of rotation functionality.

Change-Id: Ida40692d119cc0b42788c0b7ee5a153f029590c4

19 months agoe_info: add zone's angle information in topvwins 65/291465/1
Doyoun Kang [Mon, 17 Apr 2023 06:16:43 +0000 (15:16 +0900)]
e_info: add zone's angle information in topvwins

Change-Id: I6b669405289521fcb5ffc9c4cb865b901ccab981

19 months agoe_comp_wl: add _e_comp_wl_region_area_check function 47/291447/1
Junkyeong Kim [Fri, 14 Apr 2023 09:07:48 +0000 (18:07 +0900)]
e_comp_wl: add _e_comp_wl_region_area_check function

if requested region size(x+w or y+h) is over origin base region area,
set base region area to requested size.

Change-Id: I1d76b2e32330b1a4917c1172d0a57fc49a665521

19 months agoe_client/e_policy: subdivide the shadow size of decorator 58/291358/1 accepted/tizen/unified/20230414.125219
Doyoun Kang [Thu, 13 Apr 2023 11:22:45 +0000 (20:22 +0900)]
e_client/e_policy: subdivide the shadow size of decorator

We subdivided the shadow size of decorator into top, bottom, left, right.

Change-Id: Iabfa65039407ef8b9cfa23370a62497f59194db2

19 months agoe_policy_wl: set desk_iconify_skip for cursor window 27/291327/1
Doyoun Kang [Thu, 13 Apr 2023 09:55:47 +0000 (18:55 +0900)]
e_policy_wl: set desk_iconify_skip for cursor window

We add code that the cursor window is not iconified by desk_iconify.

Change-Id: Idd4f03b3fc96515b65679682b027966999ab4bff

19 months agoe_info: print all ECs list on topwins operation 95/291295/1
Junseok Kim [Tue, 11 Apr 2023 06:31:45 +0000 (15:31 +0900)]
e_info: print all ECs list on topwins operation

There was no way to present invisible ECs list because of past topwins prints just evas object in e_comp->evas.
So, print all ECs on topwins operation.

Change-Id: I6f5170d26d2a4e1ae9f5e5760bd369eced5f919a

19 months agoe_policy: set desk_iconify_skip for service windows 92/291292/1
Doyoun Kang [Thu, 13 Apr 2023 02:32:01 +0000 (11:32 +0900)]
e_policy: set desk_iconify_skip for service windows

We add code that the service windows (such as home screen, quickpanel,
lock screen, etc) not to be iconified by desk_iconify.

Change-Id: I500af48b147c758b11d7ba62fd89fdd69ad1efa1

19 months agoe_policy_wl: change a layout geometry considering the shadow size 81/291181/1
Doyoun Kang [Tue, 11 Apr 2023 06:56:54 +0000 (15:56 +0900)]
e_policy_wl: change a layout geometry considering the shadow size

Change-Id: Id50ebd0086c36b381d7dfcbf8a7cd018cc38dda2

19 months agoe_client/e_policy_wl: add the shadow size for decoration 25/291125/1 accepted/tizen/unified/20230411.161310
Doyoun Kang [Mon, 10 Apr 2023 07:30:53 +0000 (16:30 +0900)]
e_client/e_policy_wl: add the shadow size for decoration

We add a shadow size for the client side decoration.
- E_Client struction : add a shadow value
- E_Policy_Hint_Type : add a E_POLICY_HINT_DECORATION_SIZE_SHADOW

Change-Id: I2044aba597dfb43408282574b6133dfcf650dd5c

19 months agoe_policy_wl: change aux hint name for decoration properties 24/291124/1
Doyoun Kang [Mon, 10 Apr 2023 06:46:50 +0000 (15:46 +0900)]
e_policy_wl: change aux hint name for decoration properties

We changed aux hint name related with client size decoration as below.
* E_Policy_Hint_Type
  - E_POLICY_HINT_RESIZE_HEADER_HEIGHT -> E_POLICY_HINT_DECORATION_SIZE_HEADER
  - E_POLICY_HINT_RESIZE_FOOTER_HEIGHT -> E_POLICY_HINT_DECORATION_SIZE_FOOTER
* hint_name
  - wm.policy.win.resize.header_height -> wm.policy.win.decoration.size.header
  - wm.policy.win.resize.footer_height -> wm.policy.win.decoration.size.footer

Change-Id: Iceb68af9d9fd6e116a779b96e4a11845e8b106b3

19 months agoe_desk: use transform_core to desk zoom 86/290986/1
Junseok Kim [Tue, 4 Apr 2023 04:07:31 +0000 (13:07 +0900)]
e_desk: use transform_core to desk zoom

Use transform_core API to desk zoom instead of transform_core_update_with_desk_zoom function.

There was a bug that video window blinking that enabled both of transform and desk zoom.

When the video window changed their size, the transform_core_update called by EVAS_CALLBACK_RESIZE before idle time.
And then, after idle time, following called the transform_core_update_with_desk_zoom by E_EVENT_CLIENT_RESIZE.
In this situation, it makese the window blinking because their're has different coordinates and zoom value of evas_map.

For fix this issue, use transform_core API to doing desk zoom to zoom at same time with other transform.

Change-Id: Ie2adf7d4af1d6239fb04d732ea3e51d6fc2ecee5

19 months agoe_util_transform: Add e_util_transform_zoom 85/290985/1
Junseok Kim [Tue, 4 Apr 2023 03:54:27 +0000 (12:54 +0900)]
e_util_transform: Add e_util_transform_zoom

Added e_util_transform_zoom for contain zoom information for using zoom API of evas_map.

Change-Id: I03b4d2ae0c8e0344c467157db592e963e437748a