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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
SooChan Lim [Fri, 25 Aug 2023 04:58:22 +0000 (13:58 +0900)]
e: add E_DESK_HOOK_APPEND macro
Change-Id: I29ad2486252e2f1646ce1817e31f66fac8e64772
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
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
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
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
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
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
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
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
Junseok Kim [Thu, 31 Aug 2023 11:59:12 +0000 (20:59 +0900)]
e_info_server: Fix memory leak of reply
Change-Id: I852db5ebf4ad67b126f2ddabdafc16a621e8e59f
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
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>
Inhong Han [Fri, 1 Sep 2023 01:57:22 +0000 (10:57 +0900)]
e_device: Fix E_Device memory leak
Change-Id: Ic149cb4ae9e3eddbf48dbbf8ee28f47eb46624e3
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>
Junseok Kim [Thu, 31 Aug 2023 00:05:29 +0000 (09:05 +0900)]
e_service_kvm: ungrab input before drag start
Change-Id: Ieb55196b70ba00a94eaea716338761eb72515283
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>
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
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>
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
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
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
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>
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>
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
Changyeon Lee [Wed, 30 Aug 2023 05:13:38 +0000 (14:13 +0900)]
e_comp_wl_tizen_hwc: remove unused variable
Change-Id: Idfe892f77e7b1e0b5945d73c555eb5411357d5a0
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>
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
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
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
Seunghun Lee [Tue, 29 Aug 2023 08:42:24 +0000 (17:42 +0900)]
e_pixmap: Remove dead code
Change-Id: I6fe538c417e24caa8230237752e26a20d5c8d95e
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
Doyoun Kang [Mon, 28 Aug 2023 12:01:13 +0000 (21:01 +0900)]
e_service_taskbar: support auto_placement request
Change-Id: I1625e3c5050180c075e54d05b793c57af42adab4
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>
duna.oh [Mon, 28 Aug 2023 23:41:14 +0000 (08:41 +0900)]
e_comp_wl: update pointer's position when mouse_in
Mouse_In events are sent before Mouse_Move events.
This commit is to update pointer's position(ptr.x/y) when Mouse_In cb.
There was a bug that E20 decided whether pointer's position is inside
of a client(or region) in Mouse_In cb and it failed since position is not
updated yet in Mouse_In cb.
Change-Id: I63136fcb83a32e599bacc6a74b3efd8540a6d8bb
Junseok Kim [Thu, 10 Aug 2023 09:07:36 +0000 (18:07 +0900)]
e_dnd: Add e_drag_end variable for drag cancel
Change-Id: Ie88cda09524b707f02b2f986187f716e88229f2e
Junseok Kim [Wed, 9 Aug 2023 03:00:10 +0000 (12:00 +0900)]
e_service_kvm: Add ane implements new APIs for kvm service
Add new APIs
- cancel_drag: cancel current drag without data sharing
- force_drag_enter: force enter the drag into the kvm service window
- force_drag_leave: force leave the drag from the kvm service window
- receive_drag_data: receive drag data during keep dragging
Change-Id: Ib1857dbbff93282db5865fd886ab59a7957c52bd
SooChan Lim [Thu, 24 Aug 2023 10:35:14 +0000 (19:35 +0900)]
e_zone: add e_zone_desk_find_by_ec
This function find a desk which has the given ec in the zone
Change-Id: I9f6ea5cdabf53f8e6602db75279b12fba964dc6c
SooChan Lim [Thu, 24 Aug 2023 10:03:41 +0000 (19:03 +0900)]
e_desk: make e_desk_has_ec
This API return the status which the desk has the given ec.
Change-Id: Ieb6a7b4d6694beec3b0cdd73f589fb957015588e
SooChan Lim [Thu, 24 Aug 2023 10:02:11 +0000 (19:02 +0900)]
e_desk: make DESK_EC_DATA_KEY
ec store the evas_object_data with this key to figure out
which desk has ec.
Change-Id: I80313f1202fff560cfa06ce5854083d74f2a02e1
SooChan Lim [Thu, 24 Aug 2023 09:45:42 +0000 (18:45 +0900)]
e_desk: add the id to e_desk
The id of the desk increases when a e_desk is created.
Change-Id: Iaff61afd0e8ba5b6e7c996ffcc0adc81e68d6260
SooChan Lim [Fri, 25 Aug 2023 06:17:26 +0000 (15:17 +0900)]
e_config: remove the unused file
Those files are useless.
Change-Id: I6a4a65b562c9228fb411b6d0839d10c99db9e44e
Changyeon Lee [Wed, 23 Aug 2023 09:38:28 +0000 (18:38 +0900)]
e_hwc_windows: do not skip animating window in visible list
animating window can be shown under 24 depth fullscreen window
Change-Id: I24122a8ff2b7467d2c46c85e36723f0a84ae7654
review-bot [Wed, 23 Aug 2023 11:36:10 +0000 (20:36 +0900)]
Fix typo
Change-Id: Ic6b8ee57d7156480897c9db279f62b358badb79f
SooChan Lim [Wed, 23 Aug 2023 06:50:56 +0000 (15:50 +0900)]
e_client: make the symbol be EINTERN
There is no use of this api at e20 modules.
Change-Id: I9a04ca582460f091f14b7615d87129b29ae136a8
SooChan Lim [Wed, 23 Aug 2023 23:19:54 +0000 (08:19 +0900)]
e_desk: remove the unused code
These code are unused.
Change-Id: I3aaaecb0524602157ffa9c72a2c9a2ebc05c5330
SooChan Lim [Wed, 23 Aug 2023 08:03:38 +0000 (17:03 +0900)]
e_client: remove the window profile
The window proflie is not used in E20. It is useless.
Delete the window profile code.
Change-Id: I72f4feed88f935af7e79f7f404cda8adc5cdd20e
SooChan Lim [Wed, 23 Aug 2023 06:23:08 +0000 (15:23 +0900)]
remove the legacy unused files
E20 is totally forked from opensource Enlightenment.
Therefore, the legacy files from opensource is not useful anymore.
Change-Id: I723a7a6941e86cf595d555ed67f6817abc3e8fac
SooChan Lim [Thu, 24 Aug 2023 00:10:44 +0000 (09:10 +0900)]
avoid the build-error when GNU file is missing
Change-Id: Ia1901226f4c3ca5d56b8130e710c552173f9dca3
duna.oh [Wed, 23 Aug 2023 02:40:40 +0000 (11:40 +0900)]
e_devicemgr: handle keyboard_grab/ungrab requests
keyboard_grab/ungrab are available since tizen_input_device_manager v.6
key events can be grabbed according to the requested device subtype.
(Remocon/None)
Change-Id: I373a2f037bb3d6ffce68b5469544d267f9da6190
Jihoon Kim [Wed, 23 Aug 2023 11:20:29 +0000 (20:20 +0900)]
Revert "e_keyrouter: apply thread synchronization for key grab variables"
This reverts commit
60c7ad9f8b85bf1443d5ba8193221c46bd6a33e7.
Change-Id: I053ced3e6fd02ef798d43c98073a5b26ecf4b18a
Jihoon Kim [Mon, 21 Aug 2023 11:20:26 +0000 (20:20 +0900)]
e_keyrouter: apply thread synchronization for key grab variables
key grab variables such as HardKeys[key].excl_ptr, or_excl_ptr, top_ptr can be updated
wherever _e_keyrouter_send_key_events_press() is executed in input thread.
Change-Id: I725acedbda32d6cc16d84dd86ccd228ff44daf8b
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
duna.oh [Tue, 22 Aug 2023 07:50:25 +0000 (16:50 +0900)]
e_info: add -input_subtype_set option in winfo (enlightenment_info)
Change-Id: I317425d70321bcc16e42f4246c98c64319ded770
Param: [input(ex./dev/input/eventX) subtype(ex.Remocon/None)]
Changyeon Lee [Fri, 11 Aug 2023 04:53:11 +0000 (13:53 +0900)]
e_hwc_window_queue: separate buffer copy from main thread
this patch uses thread for copying buffer of queue to prevent
block main thread.
Change-Id: I2f152c0f06f827456437877879c2821856c01d1b
Changyeon Lee [Thu, 10 Aug 2023 06:08:11 +0000 (15:08 +0900)]
e_pixmap: add buffer clear hoook
Change-Id: Ib46506c9779bdb227dd51bca2d7efce40a373cba
Jihoon Kim [Mon, 21 Aug 2023 09:33:06 +0000 (18:33 +0900)]
e_input: add detail log in adding input device
Change-Id: Idb8a6039b267cd72322b6814aff3a5e67a210647
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
SooChan Lim [Fri, 18 Aug 2023 07:38:12 +0000 (16:38 +0900)]
e_client: remove the use of ec->zone
The zone variable at e_client will be deprecated.
Change-Id: I52674f3755ad11ece97e4527498fe78ec95dd3d8
SooChan Lim [Thu, 17 Aug 2023 02:51:38 +0000 (11:51 +0900)]
e_client: fix the FOCUS SET hook and event
follow the original logic and condition.
Change-Id: Iac71a3f290065c8110adddc448fd069cb29e7955
SooChan Lim [Fri, 18 Aug 2023 04:34:28 +0000 (13:34 +0900)]
e_focus_policy_history: change the name of callback function
follow the naming rule of e_focus_policy_history
Change-Id: Id744a5884e1846ba56a6eb99c8b5be71960c7ad9
SooChan Lim [Fri, 18 Aug 2023 04:33:26 +0000 (13:33 +0900)]
e_focus_policy: check the parameter
check if zone is null.
Change-Id: Iccec5fcd70720c3dfc30d3ec3d6f8bba916706b7
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