SooChan Lim [Fri, 18 Aug 2023 03:04:46 +0000 (12:04 +0900)]
e_focus_policy: remove the use of ec->zone
The variable zone at e_client will be deprecated.
Change-Id: I1fe9107f020139ba9dd86161b5440a4086bc6166
SooChan Lim [Fri, 18 Aug 2023 03:04:03 +0000 (12:04 +0900)]
e_zone: default focus policy is History policy.
change topstack into history
Change-Id: I5fc6a2c1081db2362b18a22dc83648d2992d30ca
SooChan Lim [Thu, 17 Aug 2023 07:48:23 +0000 (16:48 +0900)]
e_focus_policy: check if ec is null
avoid segmentation fault due to accessing null pointer.
Change-Id: If2720db66b5565efcc1f0ab595af7effca7b3b54
SooChan Lim [Thu, 17 Aug 2023 05:23:35 +0000 (14:23 +0900)]
e_focus_policy: raise parent window in mouse down callback
We add code to raise the parent window when the mouse down event is occured on below cases.
- the "always_click_to_raise" config is enabled.
- the parent and child makes its relationship as belong_to_parent property
Change-Id: I27348d93b0844e8e66521139cc56f93eb684b1a1
SooChan Lim [Thu, 17 Aug 2023 04:57:29 +0000 (13:57 +0900)]
e_focus_policy_topmost: change the log tag
Change-Id: Ia8438677fe7432a5bb6c44bdcd174f9ce6f0791e
SooChan Lim [Thu, 17 Aug 2023 04:56:45 +0000 (13:56 +0900)]
e_focus_policy_history: change the log tag
Change-Id: I5be46dd46d2f6366b04dec2ff9497f175745a23a
SooChan Lim [Thu, 17 Aug 2023 03:11:59 +0000 (12:11 +0900)]
e_focus_policy: fix the mouse callback logic
follow the legacy code at client mouse callbacks.
Change-Id: I4a41424740f6ad61c1f34ad3fb6e33ceec50cf0b
SooChan Lim [Thu, 17 Aug 2023 03:09:19 +0000 (12:09 +0900)]
e_focus_policy: find the next focus when ec is deleted.
find the next focus when the deleting ec is the focused ec.
Change-Id: Ib529e740adea89afd10efe2f877513d341f8d204
SooChan Lim [Thu, 17 Aug 2023 03:05:51 +0000 (12:05 +0900)]
e_focus_policy_history: add E_FOCUS_HISTORY_TRACE macro for debugging
Add the tracing log for debugging the e_focus_policy_history.
Change-Id: I494e802bb4a08946009c8676649d54417cbfdbbd
SooChan Lim [Thu, 17 Aug 2023 03:00:47 +0000 (12:00 +0900)]
e_focus_policy_history: fix the focus_stack and the defer_focus_stack
There is many bugs to manage the focus_stack and the defer_focus_stack.
Fix some issues to follow the legacy focus stack management.
Change-Id: I665314108c21d5dfbfbb84fed03d499e31321f0d
SooChan Lim [Thu, 17 Aug 2023 02:51:38 +0000 (11:51 +0900)]
e_client: fix the FOCUS SET hook and event
follow the original logic and condition.
Change-Id: I3f630d2238eeec89ff820a40796ad8012022e314
SooChan Lim [Thu, 17 Aug 2023 02:48:34 +0000 (11:48 +0900)]
e_comp_object: remove E_COMP_OBJECT_HOOK_MOVE
It is not used anymore.
Change-Id: If892fe6a78026e97382bf4b14b39234ec0b90215
SooChan Lim [Thu, 17 Aug 2023 02:47:46 +0000 (11:47 +0900)]
e_focus_policy: use E_CLIENT_HOOK_MOVE
Use E_CLIENT_HOOK_MOVE instead of E_COMP_OBJECT_MOVE
Change-Id: Ib4b4da1f4db21b88f4392805e58d4437a084dd37
SooChan Lim [Thu, 17 Aug 2023 02:37:34 +0000 (11:37 +0900)]
e_client: make E_CLIENT_HOOK_MOVE
This is the e_client hook when _e_client_cb_evas_move is called.
Change-Id: I20fc48855706fff4665a17ac006bd8b9eefb20c6
SooChan Lim [Thu, 17 Aug 2023 02:34:01 +0000 (11:34 +0900)]
e_focus_policy: use E_CLIENT_HOOK_LOWER
Use E_CLIENT_HOOK_LOWER instead of E_COMP_OBJECT_LOWER
Change-Id: I3a7ab46993cf0047cf306f198824413037364e59
SooChan Lim [Thu, 17 Aug 2023 02:33:18 +0000 (11:33 +0900)]
e_client: make E_CLIENT_HOOK_LOWER
This is the e_client hook when e_client_lower is called.
Change-Id: Ibf4414138bc41c6b50f069b75d8731088ee1ea4d
SooChan Lim [Thu, 17 Aug 2023 02:19:41 +0000 (11:19 +0900)]
e_zone: create e_focus at only default zone.
Create E_Focus at only default zone which the zone num is 0
Change-Id: I25200e6867c7d8d7dce55bf00bc0783c04c5acf5
SooChan Lim [Thu, 10 Aug 2023 07:44:45 +0000 (16:44 +0900)]
e_client: add REFACTOR_FOCUS_POLICY feature
Change-Id: Id324a5f90334abafe1e610655b0a29fca6fb05c3
SooChan Lim [Thu, 10 Aug 2023 07:40:28 +0000 (16:40 +0900)]
e_info_server: modify the code following the focus_policy refactoring
Need to implement for support this winfo feature
Change-Id: I09e57ce0dd72289fd85626fc898ab54ed577b99f
SooChan Lim [Thu, 10 Aug 2023 07:39:19 +0000 (16:39 +0900)]
e_focus_policy_history: implement the update
The implementation update the current updated ec.
Change-Id: I97f5fc69afc8694509131d2c4bb0006553d5bcc3
SooChan Lim [Thu, 10 Aug 2023 07:37:01 +0000 (16:37 +0900)]
e_focus_policy_topmost: implement the update
The implementation update the current updated ec.
Change-Id: Icf9771c78406200e8e42197e432ace0b7e826b10
SooChan Lim [Thu, 10 Aug 2023 07:35:25 +0000 (16:35 +0900)]
e_focus_policy_history: implement stack_transient_for_done callback
Add the code at the hooks call of E_POLICY_HOOK_CLIENT_STACK_TRANSIENT_FOR_DONE.
Change-Id: I6767aa9cbb3cd3d1d0d965adde0c515f81424a08
SooChan Lim [Thu, 10 Aug 2023 07:32:04 +0000 (16:32 +0900)]
e_focus_policy_history: implement comp_object_hide callback
Add the code at the hooks call of E_COMP_OBJECT_HOOK_HIDE.
Change-Id: I4f9434ecee6b8fc64622e22a45bd54c00af0f608
SooChan Lim [Thu, 10 Aug 2023 07:30:51 +0000 (16:30 +0900)]
e_focus_policy_history: implement comp_object_show callback
Add the code at the hooks call of E_COMP_OBJECT_HOOK_SHOW.
Change-Id: I942129cfcc6c939433010a92ac79567c66840ddd
SooChan Lim [Thu, 10 Aug 2023 07:17:45 +0000 (16:17 +0900)]
e_focus_policy_history: implement comp_object_move callback
Add the code at the hooks call of E_COMP_OBJECT_HOOK_MOVE.
Change-Id: I68920f7072e4299afa893431107fe6cd470714d0
SooChan Lim [Thu, 10 Aug 2023 07:17:09 +0000 (16:17 +0900)]
e_focus_policy_topmost: implement comp_object_move callback
Add the code at the hooks call of E_COMP_OBJECT_HOOK_MOVE.
Change-Id: I9e5af3f37aa1cae2056af1fef0200c6ddafbe69c
SooChan Lim [Thu, 10 Aug 2023 07:15:55 +0000 (16:15 +0900)]
e_focus_policy_history: implement comp_object_lower callback
Add the code at the hooks call of E_COMP_OBJECT_HOOK_LOWER.
Change-Id: I80d521ead175205a9942d9660263cbe9c4500b6c
SooChan Lim [Thu, 10 Aug 2023 07:14:13 +0000 (16:14 +0900)]
e_focus_policy_topmost: implement comp_object_lower callback
Add the code at the hooks call of E_COMP_OBJECT_HOOK_LOWER.
Change-Id: I576cde35c8ccf496f5d1b7b90e2066c21ab78402
SooChan Lim [Thu, 10 Aug 2023 06:31:21 +0000 (15:31 +0900)]
e_focus_policy_history: implement del callback
Add the code at the hooks call of E_CLIENT_HOOK_DEL.
Change-Id: Ie9bb186d45a59144672ad148079ec225c1e3b30d
SooChan Lim [Thu, 10 Aug 2023 07:06:04 +0000 (16:06 +0900)]
e_focus_policy_topmost: implement del callback
Add the code at the hooks call of E_CLIENT_HOOK_DEL.
Change-Id: I533616afa5d1e08ec60bbf94418f2398bf4bb322
SooChan Lim [Thu, 10 Aug 2023 06:35:21 +0000 (15:35 +0900)]
e_focus_policy_history: implement eval end callback
Add the code at the hooks call of E_CLIENT_HOOK_EVAL_END.
Change-Id: I0747157864efa1d4cb7f5c98a0ae479092ca5719
SooChan Lim [Thu, 10 Aug 2023 06:30:39 +0000 (15:30 +0900)]
e_focus_policy_topmost: implement eval end callback
Add the code at the hooks call of E_CLIENT_HOOK_EVAL_END.
Change-Id: I399ece79d3d43e4bf84d37f95d45d9037b9bb6ba
SooChan Lim [Thu, 10 Aug 2023 07:26:02 +0000 (16:26 +0900)]
e_focus_policy_history: implement activate_done callback
Add the code at the hooks call of E_CLIENT_HOOK_ACTIVATE_DONE.
Change-Id: If9c4c629bfbb6f79a8ed856eb2c3b44e12ea1082
SooChan Lim [Thu, 10 Aug 2023 05:58:54 +0000 (14:58 +0900)]
e_focus_policy_history: implement focus_set/unset callback
Add the code at the hooks call of E_CLIENT_HOOK_FOCUS_SET/UNSET.
Change-Id: I3ef2aace90791b80d9487861682b44ff609d35fe
SooChan Lim [Thu, 10 Aug 2023 06:19:02 +0000 (15:19 +0900)]
e_focus_policy_history: implement focus_latest_set callback
Add the code at the hooks call of E_CLIENT_HOOK_FOCUS_LATEST_SET.
Change-Id: I63b03cf8d27375f99252ba7d29ca6b78ed53643f
SooChan Lim [Thu, 10 Aug 2023 06:12:31 +0000 (15:12 +0900)]
e_focus_policy_history: implement focus_defer_set callback
Add the code at the hooks call of E_CLIENT_HOOK_FOCUS_DEFER_SET.
Change-Id: I5aa43c0ac11a61709d5211b44a7c1e3243a26904
SooChan Lim [Thu, 10 Aug 2023 05:56:06 +0000 (14:56 +0900)]
e_focus_policy_topmost: implement focus_set/unset callback
Add the code at the hooks call of E_CLIENT_HOOK_FOCUS_SET/UNSET.
Change-Id: Ie9b4964174e4b1cb0c7d4ed9fd5492617b5e0de1
SooChan Lim [Thu, 10 Aug 2023 02:21:58 +0000 (11:21 +0900)]
e_focus_policy: implement E_ZONE_HOOK_FOCUS_CLEAR callback
Refcatoring focus policy.
The current focused ec is set to be null.
Change-Id: If5f5588226d26f9d988dcc50e5ee35263f37616f
SooChan Lim [Thu, 10 Aug 2023 02:12:20 +0000 (11:12 +0900)]
e_focus_policy_history: implement E_ZONE_HOOK_FOCUS_RESET callback
Refcatoring focus policy.
This callback implmentation replaces e_client_refocus() calls.
See the E_ZONE_HOOK_FOCUS_RESET hook call.
Change-Id: I8b8a907d8290d99526388ee31f25f8a0994b0545
SooChan Lim [Thu, 10 Aug 2023 01:54:07 +0000 (10:54 +0900)]
e_focus_policy: make a E_CLIENT_HOOK_ACTIVATE_DONE callback
The focus may be changed at E_CLIENT_HOOK_ACTIVATE_DONE callback.
Change-Id: Idc19863ecd4041c193553a54bb90279c7e9a16f7
SooChan Lim [Thu, 10 Aug 2023 01:49:40 +0000 (10:49 +0900)]
e_focus_policy: make a E_CLIENT_HOOK_FOCUS_LATEST_SET callback
The focus may be changed at E_CLIENT_HOOK_FOCUS_LATEST_SET callback.
Change-Id: I7330df445d46363470d377f3546bb6f92851fb22
SooChan Lim [Thu, 10 Aug 2023 01:47:24 +0000 (10:47 +0900)]
e_focus_policy: make a E_CLIENT_HOOK_FOCUS_DEFER_SET callback
The focus may be changed at E_CLIENT_HOOK_FOCUS_DEFER_SET callback.
Change-Id: I3bfd75102f58f66017fca51eaf3dc7fdf7e48015
SooChan Lim [Thu, 10 Aug 2023 01:23:09 +0000 (10:23 +0900)]
e_focus_policy: make a E_CLIENT_HOOK_EVAL_END callback
The focus may be changed at E_CLIENT_HOOK_EVAL_END callback.
Change-Id: I578fae83cb52b579d87239bac4e27d6ed6426b17
SooChan Lim [Thu, 10 Aug 2023 01:07:32 +0000 (10:07 +0900)]
e_focus_policy: make a E_CLIENT_HOOK_FOCUS_UNSET callback
The focus may be changed at E_CLIENT_HOOK_FOCUS_UNSET callback.
Change-Id: I308974522a7fcc91dea7cda1c36a3b4d61e1a4b4
SooChan Lim [Thu, 10 Aug 2023 00:58:14 +0000 (09:58 +0900)]
e_focus_policy_history: make a E_POLICY_HOOK_CLIENT_STACK_TRANSIENT_FOR_DONE callback
The focus may be changed at E_POLICY_HOOK_CLIENT_STACK_TRANSIENT_FOR_DONE callback.
Change-Id: I19b29de877dd66fcd62e1d73ecc1b410424d8ad8
SooChan Lim [Thu, 10 Aug 2023 00:54:36 +0000 (09:54 +0900)]
e_focus_policy_history: make a E_ZONE_HOOK_FOCUS_RESET callback
The focus may be changed at E_ZONE_HOOK_FOCUS_RESET callback.
Change-Id: Ifcea814b689c5b519fa12c9d3a4b691ae4e6b8d2
SooChan Lim [Thu, 10 Aug 2023 00:51:26 +0000 (09:51 +0900)]
e_focus_policy: make a E_ZONE_HOOK_FOCUS_CLEAR callback
The focus may be changed at E_ZONE_HOOK_FOCUS_CLEAR callback.
Change-Id: I2ec7e4c15579fd14865fa28066e83c6e59c7f9e2
SooChan Lim [Thu, 10 Aug 2023 00:38:07 +0000 (09:38 +0900)]
e_focus_policy: make a E_CLIENT_HOOK_DEL callback
The focus may be changed at E_CLIENT_HOOK_DEL callback.
Change-Id: I73ce47a7309fe515551d87db9c5efc641762a465
SooChan Lim [Thu, 10 Aug 2023 00:31:12 +0000 (09:31 +0900)]
e_focus_policy: make a E_CLIENT_HOOK_FOCUS_SET callback
The focus may be changed at E_CLIENT_HOOK_FOCUS_SET callback.
Change-Id: Ic3ffe1be6a211292313abc0d1168df9a5f3755ce
SooChan Lim [Thu, 10 Aug 2023 00:24:33 +0000 (09:24 +0900)]
e_focus_policy_history: make a E_COMP_OBJECT_HOOK_HIDE callback
The focus may be changed at E_COMP_OBJECT_HOOK_HIDE callback.
Change-Id: I02cfaf4b233c08e0dd786c8ee5d8400c21e9c947
SooChan Lim [Thu, 10 Aug 2023 00:20:06 +0000 (09:20 +0900)]
e_focus_policy_history: make a E_COMP_OBJECT_HOOK_SHOW callback
The focus may be changed at E_COMP_OBJECT_HOOK_SHOW callback.
Change-Id: Ia198bfd048874c38141e8a29903aec1fcf0fe7e1
SooChan Lim [Thu, 10 Aug 2023 00:07:42 +0000 (09:07 +0900)]
e_focus_policy: make a E_COMP_OBJECT_HOOK_MOVE callback
The focus may be changed at E_COMP_OBJECT_HOOK_MOVE callback.
Change-Id: I9fe6e2d54a89c022850d5adaf5ea0c006454a064
SooChan Lim [Wed, 9 Aug 2023 23:58:38 +0000 (08:58 +0900)]
e_focus_policy: make a E_COMP_OBJECT_HOOK_LOWER callback
The focus may be changed at E_COMP_OBJECT_HOOK_LOWER callback.
Change-Id: Ib49b0c6c183d0da96c5553c5babf8723df086ec8
SooChan Lim [Wed, 9 Aug 2023 11:22:00 +0000 (20:22 +0900)]
e_focus_policy: add focused_ec_mutex
Each implementation has a focused_ec_mutex variable.
Change-Id: I89e5e5300df6ae1bcc78f0a8bcc7573a0a88e8db
SooChan Lim [Wed, 9 Aug 2023 11:09:22 +0000 (20:09 +0900)]
e_focus: use the new e_focus apis
This code is diabled and is not working now.
The implementations of E_Focus_Policy_Iface is needed for working.
Change-Id: I23127c173ec667ada8920b757c7081c29c86a484
SooChan Lim [Wed, 9 Aug 2023 11:58:37 +0000 (20:58 +0900)]
e_focus_policy: implement the E_CLIENT_HOOK_MOUSE_IN/OUT/DOWN callback.
Thease replace the e_focus_event_mouse funtions below.
e_focus_mouse_in()
e_focus_mouse_out()
e_focus_mouse_down()
Change-Id: I7aade8ea35bdaf97deaa1c329fa556ee5b1df8f6
SooChan Lim [Wed, 9 Aug 2023 10:47:57 +0000 (19:47 +0900)]
e_focus: Add the skeleton code for refactoring the focus policy
This is the first skeleton code for the focus policy refactoring.
The structure of the class diagram is below.
E_Focus --(has)--> E_Focus_Policy_Iface <|----(Implmentation)-- E_Focus_Policy_Topmost
|
|--(Implmentation)-- E_Focus_Policy_History
All the code for refatoring is diabled with defining the REFACTOR_FOCUS_POLIY feature.
Change-Id: Ia0d18599c53068f1bd68ae5019cf1a489c0bd1e8
Doyoun Kang [Mon, 21 Aug 2023 02:25:14 +0000 (11:25 +0900)]
e_service_taskbar: move window when the taskbar change the size or place type
Change-Id: I5965f9f4ffcbef42ac49e79fd61bf18efa028926
SooChan Lim [Fri, 18 Aug 2023 09:40:36 +0000 (18:40 +0900)]
e_comp: expose e_comp_zone_find_by_ec() function
E20 module has to use e_comp_zone_find_by_ec() function
in order to remove the use of ec->zone.
The zone variable will be deprecated, therefore E20 module
has to remove ec->zone at its code.
Change-Id: I587699f36c4630af0ec0105aba585c3691481edf
Jihoon Kim [Fri, 18 Aug 2023 05:03:23 +0000 (14:03 +0900)]
e_input: fix issue not to handle key event in emulator
Change-Id: I7302a798d57a032a6c64e812591b74da76a018ce
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Junseok Kim [Thu, 17 Aug 2023 12:23:11 +0000 (21:23 +0900)]
e_comp_wl: No need to check client is focused before relative motion send
Change-Id: Id70a8164a8eb317e25f4059ddc95ce2aacaebf3e
Junseok Kim [Thu, 17 Aug 2023 06:08:43 +0000 (15:08 +0900)]
e_client: use surface-local coordinate to check input rect of the client
There was a bug that input rect didn't fit with partial sized surface.
It's caused by the position checker consider as local coordinate of the client to absolute coordinate.
To correct this bug, consider the position of the client to use surface-local coordinate.
Change-Id: I0f98c5ada983af2dac919467b5e899aaca401e4b
Junseok Kim [Thu, 10 Aug 2023 05:44:31 +0000 (14:44 +0900)]
e_comp_wl: do not send data device send enter/leave on evas mouse in/out callback
The wl_data_device_send_enter/leave is called in ecore_mouse_move callback.
For consistency of the drag and drop, remove wl_data_device_send_enter from the evas mouse callback
Change-Id: I0c072b52c67196a4d5286ba2a0379a4d1db90277
Junseok Kim [Wed, 9 Aug 2023 02:58:52 +0000 (11:58 +0900)]
e_service_kvm: rename res_srv_mc to srv_kvm_res
Change-Id: Ic6ee2190649a6d24d2c2919d2cdd9c258b1752b4
Junseok Kim [Mon, 31 Jul 2023 06:45:34 +0000 (15:45 +0900)]
e_service_kvm: Add kvm layer and adjust to kvm client
Change-Id: I156fae9d1ad0d218c3c19fa17f3df62fb71579b8
Seunghun Lee [Thu, 17 Aug 2023 01:31:23 +0000 (10:31 +0900)]
e_comp_wl: Don't use uninitialized value
The uninitialized 'name' variable could be used if fopen() in
_e_comp_wl_pname_get() is failed.
Change-Id: Ib6d874481ab52483369784d7d8799311f01a0b9c
Inhong Han [Wed, 16 Aug 2023 11:54:57 +0000 (20:54 +0900)]
e_input: fix key input not working issue
If keyrouter is initialized first because input thread is running late,
key event will not be added to input_event_handler.
Change-Id: If5105b631798d42367e9e57de88e4ced5a4c35ea
duna.oh [Wed, 16 Aug 2023 10:56:27 +0000 (19:56 +0900)]
e_keyrouter: check validation of key when unsetting keygrab
Change-Id: Ibe190b58eee3b85da41f6d689aee8712884ac721
Changyeon Lee [Fri, 11 Aug 2023 10:34:07 +0000 (19:34 +0900)]
e_hwc_window: remove calling e_comp_zone_find_by_ec
Change-Id: I709e22d8408dbacbf967dce3d57b6cdeaa0635b3
Changyeon Lee [Wed, 16 Aug 2023 07:42:40 +0000 (16:42 +0900)]
e_hwc_window: clean up _e_hwc_window_free
remove unnecessary checking null and goto
Change-Id: Ib490361e875bf30b614e3959952cb51a7d04589a
Doyoun Kang [Wed, 16 Aug 2023 08:14:53 +0000 (17:14 +0900)]
e_focus: add code to call e_client_focus_defer_set in mouse down callback
There is bug that the child window can not get focus when the mouse down event is occured.
In mouse down callback, the window get focus first.
If the window is child and it set the belong_to_parent property to the parent, then the
parent will be raised. The parent window is added to the defer_focus_stack in intercept_raise
callback function.
And finally, the parent window gets the focus by defer_focus policy.
To resolve this problem, we add code that e calls e_client_focus_defer_set for the child window.
Change-Id: I96dd830115213bb93787b1e00fe83e1ca052184c
Doyoun Kang [Wed, 16 Aug 2023 08:09:43 +0000 (17:09 +0900)]
e_focus: raise parent window in mouse down callback
We add code to raise the parent window when the mouse down event is occured on below cases.
- the "always_click_to_raise" config is enabled.
- the parent and child makes its relationship as belong_to_parent property
Change-Id: Ic91e15932d534c49cdf19f60f2ab0ba0844ea5fc
Jihoon Kim [Wed, 16 Aug 2023 01:49:58 +0000 (10:49 +0900)]
e_comp_wl_input: Add null check
e_client_from_surface_resource can return NULL
Change-Id: I6575d354da0d1759449e0a33391ba91fb67b90e3
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Seunghun Lee [Mon, 14 Aug 2023 05:36:48 +0000 (14:36 +0900)]
compositor: Disconnect link of request_move on destroy
Change-Id: I8ac47c3e1add61364e835a18df2eb31a20f0ebc0
Seunghun Lee [Tue, 8 Aug 2023 05:17:46 +0000 (14:17 +0900)]
e_comp_wl: Enable log messages of libds
It redirects log messages of libds to enlightenment log system.
Let the intial log level of libds be DS_DBG so that it can be printed
depending on enlightenment's log level.
Change-Id: I8ee125c7285f38b74feae04f951b2587b876960e
Doyoun Kang [Thu, 10 Aug 2023 08:08:00 +0000 (17:08 +0900)]
e_client/e_zone: support iconified_type for iconify by parent
We add a new iconified type - E_ICONIFIED_TYPE_PARENT_ICONIFY_BY_CLIENT.
If the transient parent is iconified by client request, then the children are
iconified also and the iconified_type is set to this type.
FYI, however, if the transient parent is iconified by visibility, then the
children are not iconified.
Change-Id: I3afa825bfe3e8cc566519928e3d9d78423a67671
Doyoun Kang [Thu, 10 Aug 2023 08:00:17 +0000 (17:00 +0900)]
e_policy: add EINTERN e_policy_client_iconic_state_change_send
Change-Id: Ieebf8a1c415f0b0e37bc9df3087a4fa8b3afa82a
Changyeon Lee [Wed, 9 Aug 2023 09:13:15 +0000 (18:13 +0900)]
e_comp_object: remove unnecessary critical log
hwc should be able to update the comp object even if
ec is deleted (wl_surface is deleted) because
the comp object can be shown.
Change-Id: If35a311cedebaccc3070fc0f07333033b6b92223
SooChan Lim [Thu, 10 Aug 2023 05:22:58 +0000 (14:22 +0900)]
e_client: add e_client_intercept_hook_focus_revert_call signature
Change-Id: Iedcab6333fb8c37aa39776c0e2c9c2c16eb9f202
SooChan Lim [Wed, 9 Aug 2023 23:34:21 +0000 (08:34 +0900)]
e_client: change some static functions to EINTERN functions
These functions will be needed by refactoring the focus policy.
Change-Id: I3eca54504dc2748b37dde0f815f9a17b6dbe8214
Seunghun Lee [Wed, 9 Aug 2023 10:29:40 +0000 (19:29 +0900)]
Revert "Use wl_signal_emit_mutable()"
The call to wl_signal_emit_mutable() causes some memory issue for some
reason, so this reverts commit
499af4f07e8119645f5df18a4d62d02b700935c3.
Change-Id: I624c94042f6e11699c41403b04e738a33163988d
Seunghun Lee [Wed, 9 Aug 2023 09:40:11 +0000 (18:40 +0900)]
compositor: Fix memory corruption
Calling wl_list_remove(sub->parent_surface_destroy.link) in
_e_subsurface_destroy() caused memory corruption, if it is called after
the destruction of parent surface.
Change-Id: Ifb0ee675554d13c93aed2e2c438c8a43f2d347e1
Jihoon Kim [Wed, 9 Aug 2023 03:26:57 +0000 (12:26 +0900)]
e_input: fix build warning
Change-Id: I7f2a00413381f2e7f8cf40fd3261aecf5da531b1
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Junseok Kim [Wed, 9 Aug 2023 02:40:21 +0000 (11:40 +0900)]
e_desk: remove unused variable
Change-Id: I61df571af756420398aee787cacd3c998acec04b
Doyoun Kang [Wed, 9 Aug 2023 01:53:55 +0000 (10:53 +0900)]
e_policy_visibility: add checking geometry while checking obscured by children
Change-Id: I42d692c1ab953e8e3199a08981f3165249fe8715
Doyoun Kang [Tue, 8 Aug 2023 09:36:27 +0000 (18:36 +0900)]
e_policy_wl: bug fix for activate_above request
When a transient_below child requests to activate above its parent,
then e doesn't allow this request.
Change-Id: Ieb56f9364ce86bd42c69954a49e47f757eaf2fa4
Junseok Kim [Tue, 8 Aug 2023 06:27:20 +0000 (15:27 +0900)]
e_comp: move position of the E_LAYER_CLIENT_DRAG to right below of the cursor
Change-Id: I2df2e7bea5d81e47c0752172ed9c4f92b92420a4
Junseok Kim [Tue, 8 Aug 2023 06:21:20 +0000 (15:21 +0900)]
e_comp_wl: correct position of the drag window
the x, y is relative position of the window under pointer.
and the ev->x, ev->y is absolute position of the screen.
the drag window have to position to absolute position, not to relative position.
Change-Id: Ic9fd3414e2bf890f18ccd8afbc49f8e72753f1e3
SooChan Lim [Tue, 8 Aug 2023 04:12:23 +0000 (13:12 +0900)]
e_client: remove the use of e_config->focus_setting
The e_config->focus_setting is awlays 1 which is
E_FOCUS_NEW_WINDOW, so it is useless.
Change-Id: Id3bc8ff3d802ea16cbfefd0f78cbcd8721bc5c76
Junseok Kim [Fri, 4 Aug 2023 06:52:41 +0000 (15:52 +0900)]
e_client: remove e_client_focus_track functions
There're no call of the e_client_focus_track_freeze and e_client_focus_track_thaw.
So, the e_client_focus_track functions and variables are not necessary.
Change-Id: I4765e12c857ca36155e0d414f01087f0c9bac56f
Junseok Kim [Fri, 4 Aug 2023 06:35:57 +0000 (15:35 +0900)]
e_desk: remove focus set logic from desk show animation
Remove focus setting logic from desk showing animation.
It's not necessary to current focus logic both of Topmost and Focus history.
Change-Id: Ia8bb3e271f0741fb7eda2273bcdc3ac10d0851dc
Junseok Kim [Fri, 4 Aug 2023 06:32:18 +0000 (15:32 +0900)]
e_comp_wl_data, e_comp_wl_input: remove controlling focus stack
remove controlling focus stack from e_comp_wl_data, e_comp_wl_input.
It's useless code that the clients are ignored by ec->override.
Change-Id: I1ba7d38d60c42cd90ef6ee9688529bb69fd23d53
Changyeon Lee [Mon, 7 Aug 2023 03:41:24 +0000 (12:41 +0900)]
e_pointer: do scale with same output resolution ratio of width and height
Change-Id: Iab23e011084c7d057b3a8bfafdbc51814ab32b28
Joonbum Ko [Fri, 4 Aug 2023 10:44:05 +0000 (19:44 +0900)]
e_comp_wl: add e_comp_wl_focused_client_flush
add the mutex to protect event_flush for each clients.
e_input_input: use the added focused_client_flush
Change-Id: I86677be4b161103732fcefdf5ba8199b4296e538
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
SooChan Lim [Mon, 7 Aug 2023 05:41:54 +0000 (14:41 +0900)]
e_comp_canvas: do nothing at mouse in callback
No need to manage the focus here. The focus management will
execute other focus logic.
Change-Id: Ic367f1498c09ef88eeb8a0294312bd6285834ae4
SooChan Lim [Fri, 4 Aug 2023 00:45:50 +0000 (09:45 +0900)]
e_client: make the early returns
make the early returns at _e_client_check_really_iconified()
Change-Id: I1ed75586b1230f0d12a43acbc20626196415b9e8
SooChan Lim [Mon, 7 Aug 2023 01:00:52 +0000 (10:00 +0900)]
e_comp_wl_shell: remove e_focus_mouse_down
e_focus_mouse_down() is alread called before this function call.
So calling e_focus_mouse_down() is unnecessary.
Change-Id: I28ffad8faf8fdddc94fd1a6fa5e33cc31f8e8a51
SooChan Lim [Mon, 7 Aug 2023 00:22:29 +0000 (09:22 +0900)]
e_client: move e_focus_event_mouse_down() at e_client_mouse_down
It shows the before and after call flow for e_focus_event_mouse_down.
BEFOER : _e_comp_wl_evas_cb_mouse_down() -> e_focus_event_mouse_down()
AFTER : _e_comp_object_cb_mouse_down() -> e_client_mouse_down() -> e_focus_event_mouse_down()
Other e_focus_mouse apis(e_focus_mouse_up/move) is called through
e_client_mouse apis(e_client_mosue_up/move), so e_focus_event_mouse_down()
is also changed to be called through e_client_mouse_down().
Change-Id: I189967b67d0a3dd373418990476daac97ec4a803
SooChan Lim [Sun, 6 Aug 2023 23:48:59 +0000 (08:48 +0900)]
e_focus: remove the unused focus_event functions
These do nothing.
Change-Id: Iac2005de8dd70f797461708fc6aa2de0638c3dc6
Jihoon Kim [Fri, 4 Aug 2023 10:15:03 +0000 (19:15 +0900)]
Revert "e_input: process input event asynchronously"
This reverts commit
c7ab667d22b0e061e5ce4a20d7050caca5046461.
Change-Id: I52583ae84ad9a72b705686c7a8931f4a743d1154