SooChan Lim [Sun, 9 Jul 2023 04:07:22 +0000 (13:07 +0900)]
e_zone: remove the stow/unstow at e_zone
Those are deprecated.
Change-Id: Idf2854a3cab129e7ca6e3d057ee08c3b93506b72
SooChan Lim [Sun, 9 Jul 2023 04:05:01 +0000 (13:05 +0900)]
e_zone: remove the e_zone_fade_handle
It is deprecated.
Change-Id: If242137407f38acbbd22e47a37bb4f1c179859a0
SooChan Lim [Sun, 9 Jul 2023 04:00:20 +0000 (13:00 +0900)]
e_zone: remove the edge and corder at e_zone
All code releted to the edge and the corder at e_zone is deleted.
It is deprecated
Change-Id: I58efed668990b02dc1790d7dcb30aa0cba205c23
SooChan Lim [Sun, 9 Jul 2023 03:28:35 +0000 (12:28 +0900)]
e_zone: remove the flip variable and e_zone_flip_coords_handle
The flip at e_zone is not used anymore.
Change-Id: I72ca21b7bb913139c3bba479c8c70ae50438f7fe
SooChan Lim [Sun, 9 Jul 2023 00:32:25 +0000 (09:32 +0900)]
e_comp_wl_rsm: remove the use of ec->zone
The zone variable at e_client will be deprecated.
Change-Id: Ifa2b2f8d3bc78ada1bd7118cd2fc72537c3b9b53
SooChan Lim [Fri, 7 Jul 2023 10:25:32 +0000 (19:25 +0900)]
e_comp: use the e_comp_client_zone_is_displaying function
instead of ec->zone->display_state
Change-Id: Ib8bf138a03c1958ef5dbf0d09441215a15e5563d
SooChan Lim [Fri, 7 Jul 2023 10:22:14 +0000 (19:22 +0900)]
e_zone: use the e_zone_is_displaying function
instead of zone->display_state
Change-Id: I045cc114bfdbc8cc415de87cc0add421eb2767df
SooChan Lim [Fri, 7 Jul 2023 10:16:25 +0000 (19:16 +0900)]
e_comp: add e_comp_client_zone_is_displaying() function
This function states if the zone including ec is displaying or not.
Change-Id: Idc9f17e6293d21c4b67a7c2c70dac2ab949b6028
SooChan Lim [Fri, 7 Jul 2023 10:15:33 +0000 (19:15 +0900)]
e_zone: add e_zone_is_displaying() function
This function states if the zone is displaying or not.
Change-Id: Icff29c0da8726baf417daa96c5a6dd0802a9004b
SooChan Lim [Fri, 7 Jul 2023 08:32:36 +0000 (17:32 +0900)]
e_policy_visibility: check the exception conditions at exposed function.
The exception conditions are checked at the exposed function and internal(static)
functions does not check those conditions.
Change-Id: I1885d08db036bb1c79c75a2bb5670455b8eaea97
SooChan Lim [Fri, 7 Jul 2023 08:27:34 +0000 (17:27 +0900)]
e_policy_visibility: remove the duplicated conditions for exceptions
Check the exceptions at only e_policy_client_iconify_by_visibility() function
Change-Id: I48fa5fb5f14aa2afa15bd2f7b88e30e0ebfe5904
SooChan Lim [Fri, 7 Jul 2023 08:20:31 +0000 (17:20 +0900)]
e_service_quickpanel: check if zone is available.
The quickpanel ec has to be assigned to zone at e_service_quickpanel_client_add().
Change-Id: I32eb0b373f8296e9a281e3df7c7ff167a39c6d73
SooChan Lim [Fri, 7 Jul 2023 03:07:24 +0000 (12:07 +0900)]
e_policy_stack: remove the unused arguments at e_policy_stack_check_above_lockscreen
The new_layer and set_layer ags are not used anywhere, so delete them.
Change-Id: I803873d2708c219911604893e44a28d3c3aa03f5
SooChan Lim [Fri, 7 Jul 2023 02:40:50 +0000 (11:40 +0900)]
e_policy_stack: check the containts of lockscreen inside function
Move the constraint condition for showing lockscreen into the function because that condition
is always used when the lockscreen wants to be showing.
Change-Id: I81f36c1a0dc7d636f7076c26458ea15c0668bc03
Jihoon Kim [Fri, 7 Jul 2023 10:07:41 +0000 (19:07 +0900)]
e_input_event: fix dereference null return value
Change-Id: Ie75bbe804052461238ae5ece8046d268ad1a0d53
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Jihoon Kim [Fri, 7 Jul 2023 09:38:41 +0000 (18:38 +0900)]
Fix mutex lock/unlock pair issues
Change-Id: I3e3938e73acf292b4549ad3267cade0903565e57
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Jihoon Kim [Wed, 5 Jul 2023 10:40:24 +0000 (19:40 +0900)]
e_input_device: remove unnecessary code
Change-Id: Icd6eb5cadb071b9e6883e467e5c0c79947574e04
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Jihoon Kim [Wed, 5 Jul 2023 06:57:25 +0000 (15:57 +0900)]
e_input_evdev: refactoring code to print key input log
Change-Id: Ia67c205edc1408d0736fbbfba024cd0e8ab88555
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Junseok Kim [Thu, 6 Apr 2023 06:20:57 +0000 (15:20 +0900)]
e_comp_wl: set reference point when the wl_surface commit of the drag window
Change-Id: Id23809217567f1d4c5871b1f47165543601ea84f
Junseok Kim [Thu, 6 Apr 2023 06:13:33 +0000 (15:13 +0900)]
e_dnd: Add reference point and use the point when drag move
Change-Id: I95d0b33f9169a9f32ecad988bb7450db5c480679
SooChan Lim [Thu, 6 Jul 2023 08:21:09 +0000 (17:21 +0900)]
e_policy_visibility: refactor the _e_vis_ec_job_exec() function
1. Check if pol_vis is valid at _e_vis_ec_job_exec()
2. Check if vc->ec is valid at _e_vis_ec_job_exec()
3. Remove the null checking code for ec and for vc at _e_vis_client_job_exec_by_type()
Change-Id: Ia335af59f9fac6215201fb5c11b31fa26d121d00
SooChan Lim [Thu, 6 Jul 2023 07:26:39 +0000 (16:26 +0900)]
e_policy_visibility: remove _e_vis_ec_size_is_full()
There is no use for this function.
Change-Id: Idfd4a5859722c38e5f68c70d6fb49dfed3aa0357
SooChan Lim [Wed, 5 Jul 2023 23:41:08 +0000 (08:41 +0900)]
e_service_quickpanel: fix the dereference value
Change-Id: Ib9adb84cced92fdd7ab4b42749e3b4964d9eaf5d
SooChan Lim [Wed, 5 Jul 2023 07:00:17 +0000 (16:00 +0900)]
e_hwc: remove the use of ec->zone
The zone variable at ec will be deprecated.
Change-Id: Ie7fd61c14839d1111f2d51f92a01f7f3efe0022d
SooChan Lim [Wed, 5 Jul 2023 04:34:29 +0000 (13:34 +0900)]
e_zone: remove the use of ec->zone
The zone variable at ec will be deprecated.
Change-Id: I2c0d67cee9908c0981348803bd7ae81f270b148a
SooChan Lim [Wed, 5 Jul 2023 04:14:13 +0000 (13:14 +0900)]
e_comp_object: remove the use of ec->zone
The zone variable at e_client will be deprecated.
Change-Id: I5ddf59faeca54537a8c2c1db0abcfa54f62e476a
SooChan Lim [Wed, 5 Jul 2023 01:50:14 +0000 (10:50 +0900)]
e_comp: remove the use of ec->zone
The zone variable of ec will be deprecated.
Change-Id: I13e745101462ce73d995f9f13866a22bfee64fd7
wchang kim [Tue, 4 Jul 2023 02:37:30 +0000 (11:37 +0900)]
Fixed the build error using gcc 13
Change-Id: Icc003f9d6f957410d15ea582096be8434eb4c4a5
SooChan Lim [Thu, 1 Jun 2023 02:22:09 +0000 (11:22 +0900)]
e_comp_wl_data: change E_API into EINTERN
Change-Id: Ibaf85f574b017d88f450aab48192db696832cb71
Jihoon Kim [Tue, 4 Jul 2023 01:11:08 +0000 (10:11 +0900)]
Fix keymap mutex issue
Change-Id: I2b7de6993678a5923295bda5cb8a32f06e4a8e40
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
SooChan Lim [Tue, 4 Jul 2023 07:58:46 +0000 (16:58 +0900)]
e_service_taskbar: remove the use of ec->zone
The zone variable at ec will be deleted.
Change-Id: I2a02ee040225e84334a52edf1d17fec67afc26a2
SooChan Lim [Tue, 4 Jul 2023 02:38:01 +0000 (11:38 +0900)]
e_service_softkey: remove the use of ec->zone
The zone variable at ec will be deleted.
Change-Id: I65ebc99e6e992faf56ee2e332534850e6b0b6ac5
SooChan Lim [Tue, 4 Jul 2023 02:23:10 +0000 (11:23 +0900)]
e_service_quickpanel: remove the use of ec->zone
The zone variable at ec will be deleted.
Change-Id: Ibea987f49cd3550119d4840630035f5f5afb60fd
SooChan Lim [Tue, 4 Jul 2023 02:22:40 +0000 (11:22 +0900)]
e_service_cbhm: remove the use of ec->zone
The zone variable at ec will be deleted.
Change-Id: Ic9cca680e6ae1dcfa5270642e27b377e159f3ea5
duna.oh [Mon, 3 Jul 2023 11:00:49 +0000 (20:00 +0900)]
e_comp_wl_input: add wl_list_init() for safety of constraint's listener
There are a chance of E crash when wl_listener is removed
without initializing by calling wl_signal_add() and wl_list_init()
pointer_constraint_create()
-> (not calling pointer_constraint_enable())
-> pointer_constraint_destroy()
Change-Id: I63d77ca25698cc6c5df0a22e53200e3565873ee4
Jihoon Kim [Tue, 4 Jul 2023 08:21:33 +0000 (17:21 +0900)]
Fix bug not to get device information of touch event
Change-Id: I71e9e374f0dd765bf2f4c37b4bca4ea2621077c8
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Jihoon Kim [Tue, 4 Jul 2023 07:47:08 +0000 (16:47 +0900)]
e_client: rename focused ec mutex
Change-Id: Ib5fad07d9af1bd8626decefa8a9853a8d38ea9bb
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Jihoon Kim [Tue, 4 Jul 2023 05:19:01 +0000 (14:19 +0900)]
Use e_comp_wl_client_surface_set/get for thread safety
Change-Id: Ic1ff9714db6a130697a82bc8b2604228c3f58d02
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Jihoon Kim [Tue, 4 Jul 2023 02:11:54 +0000 (11:11 +0900)]
e_input_evdev: change the mutex range for key map
Change-Id: I7b9ada41ff0ce29260cdaf35ef17aa34309cae51
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Jihoon Kim [Tue, 4 Jul 2023 01:53:33 +0000 (10:53 +0900)]
e_comp_wl: Add missing surface mutex
Change-Id: I2a4b1a0c6254834f198924641ace4ad78e2e1c92
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Jihoon Kim [Mon, 19 Jun 2023 05:13:22 +0000 (14:13 +0900)]
Remove unused code
Change-Id: I9fc24914b65bb87778a584165a8fe3416fa962b0
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Jihoon Kim [Tue, 13 Jun 2023 05:43:41 +0000 (14:43 +0900)]
Add mutex for keyboard repeat delay and rate
Change-Id: I8c09587e899fb88a9b47b4803b4f9bdcf96b7d74
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Jihoon Kim [Mon, 5 Jun 2023 07:28:04 +0000 (16:28 +0900)]
Add mutex for input_key_grabs list
Change-Id: I0815d8d882adfbe301b334403d2b39f915f2dc58
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Jihoon Kim [Mon, 5 Jun 2023 07:20:57 +0000 (16:20 +0900)]
Add mutex for key list
Change-Id: I3d415f36c919a4f5b24b9e90850e202c31550142
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Jihoon Kim [Mon, 5 Jun 2023 05:56:06 +0000 (14:56 +0900)]
Add mutex for xkb_state variable
Change-Id: Ia60f3a39401ce7faba5a288a8d3d9144615fa1f7
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Jihoon Kim [Mon, 5 Jun 2023 05:29:46 +0000 (14:29 +0900)]
Add keymap mutex in e_comp_wl
Change-Id: If60d054b7a7d3717a5ae6ffd1636ba6162bdb556
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Jihoon Kim [Fri, 2 Jun 2023 11:20:49 +0000 (20:20 +0900)]
Add mutex for kbd focused list
Change-Id: I01f2dd85529398638a2fa391c44f8158a591bf1b
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Jihoon Kim [Fri, 2 Jun 2023 09:29:07 +0000 (18:29 +0900)]
Add mutex for keyboard resources
Change-Id: I4d5249d4ee232533d69c6cab3d2ac28a0ad69dd5
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Jihoon Kim [Fri, 2 Jun 2023 02:01:51 +0000 (11:01 +0900)]
Add mutex lock for surface of comp_data
Change-Id: I1390eda4baa9faad61e456c4eabe9eabe175e996
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Jihoon Kim [Tue, 23 May 2023 10:50:25 +0000 (19:50 +0900)]
Add mutex for keyboard mod mask
Change-Id: Ieaf84659d7fb488e1c5665c3b4dcb8f9c2f1b9bb
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Jihoon Kim [Tue, 23 May 2023 07:40:38 +0000 (16:40 +0900)]
Add surface mutex
Change-Id: I3f9bb241ec19b36feb4f1f51a647124a3914ee21
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Jihoon Kim [Mon, 22 May 2023 12:01:45 +0000 (21:01 +0900)]
Add mutex for last device keyboard variable
Change-Id: I8a48a1fc0902a86c4f52f84ef49618ba03a5f62a
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Jihoon Kim [Mon, 22 May 2023 11:19:47 +0000 (20:19 +0900)]
Add mutex for device list in device manager
Change-Id: I12be5d405b0734f3d282dd3cf8914789147d343f
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Jihoon Kim [Thu, 11 May 2023 07:29:11 +0000 (16:29 +0900)]
e_client: protect focused e_client data against shared access
Change-Id: Ic42f1fc63c38d966e04270c96ab4d72efe9e4600
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Jihoon Kim [Tue, 9 May 2023 05:04:32 +0000 (14:04 +0900)]
Fix issue not to register key event handler in E_INPUT_USE_THREAD_INIT env
Change-Id: I799ec17324011687bd8cb51df938ad7066e4792d
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Jihoon Kim [Thu, 4 May 2023 11:20:42 +0000 (20:20 +0900)]
Support to switch input thread mode
Change-Id: Ibdfb94419f75c40d820c88335ac38d06ebacb033
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Jihoon Kim [Fri, 31 Mar 2023 07:40:43 +0000 (16:40 +0900)]
Separate input thread
Change-Id: I55b0cbcf3b68d97616bdab40dab8bf81b56fb536
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
SooChan Lim [Fri, 30 Jun 2023 03:52:32 +0000 (12:52 +0900)]
e_comp_wl_video: remove the use of ec->zone
E_Client does not have the zone information anymore, so the use of ec->zone
is removed.
Change-Id: I8ca518917cec17bc469fdc71dde7d7e9361b3d24
SooChan Lim [Fri, 30 Jun 2023 01:56:34 +0000 (10:56 +0900)]
e_comp: add e_comp_zone_find_by_ec function
This function find a E_Zone to which the given ec belongs.
Change-Id: I7ef26da8b5d81a8e9c92a0c1d1bc02b61dcfc115
SooChan Lim [Fri, 30 Jun 2023 00:29:45 +0000 (09:29 +0900)]
e_zone: add the private data when ec is added at a zone.
In order to know the zone with ec which the zone has, the zone sets the data to the ec->frame
when the ec is added to the zone.
Change-Id: Id37b973e4577fd0c7ac9adbe53fedf56013e08a1
SooChan Lim [Wed, 28 Jun 2023 08:07:49 +0000 (17:07 +0900)]
e_client: move the zone activities to the zone.c with e_zone_client_add()
Change-Id: I7c70885665027e1017de2592c3f5761ed83ba0d1
SooChan Lim [Mon, 3 Jul 2023 07:57:55 +0000 (16:57 +0900)]
e_client: set a client to a desk after creating ec->frame
e_zone is going to use the evas_object data of ec->frame when the ec
is added to the e_zone. Therefore, ec->frame has to be created before
setting it to the zone.
Change-Id: I46703e13d644c1bc3c50caf15fb65957f74c778b
SooChan Lim [Wed, 28 Jun 2023 07:51:59 +0000 (16:51 +0900)]
e_zone: add e_zone_client_add function
Change-Id: Ic3f6e663e151fda55fa4d1aa21ba67040cbf0785
duna.oh [Mon, 3 Jul 2023 08:14:11 +0000 (17:14 +0900)]
e_input: change return type of hook_cb function, Eina_Bool to void
E_Input does not need return values from hook_cb functions.
Change-Id: I11442fa74cc332c5d0b2d948fe9ce84d505a10d5
Changyeon Lee [Wed, 21 Jun 2023 10:28:28 +0000 (19:28 +0900)]
e_hwc_window_queue: handle failure of the buffer allocation
if the buffer allocation is failed, queue size and get size
are different.
it causes a problem of client does not have idle buffer after
client receives activate event of queue.
Change-Id: Ia37ad6308c9cf5be42286b3c24c54c1d7c6ef8e7
Changyeon Lee [Thu, 29 Jun 2023 10:05:16 +0000 (19:05 +0900)]
e_explicit_sync: fix use after free
if e_explicit_sync_surface is destroyed before e_client is deleted,
e_explicit_sync_surface is used after it is freed
in _e_explicit_sync_surface_cb_before_surface_commit because
hook is not deleted.
Change-Id: I0a2d8336365dbe85b37bc46e9d8de0e8fe33f12e
SooChan Lim [Mon, 26 Jun 2023 01:42:05 +0000 (10:42 +0900)]
e_hwc_window: declare acquire_fence_fd var at the beginning of function.
Change-Id: I4e5fb4e1c9b5347d421761eab9153587c9d087c8
SooChan Lim [Mon, 26 Jun 2023 01:40:02 +0000 (10:40 +0900)]
e_explicit_sync: add delete function for before_surface_commit_hook
Change-Id: I7a2a3ae58d71489a4cbc264c71547ed5cac059b9
SooChan Lim [Mon, 26 Jun 2023 01:04:06 +0000 (10:04 +0900)]
e_explicit_sync: fix the indentation
Change-Id: I9a3099143d9e7085adc9f8a896774cc5731e4ca3
SooChan Lim [Thu, 15 Jun 2023 04:40:28 +0000 (13:40 +0900)]
e_explicit_sync: use explicit_sync_surface->pending_acquire_fence_fd instead of fd
because the fd is -1 after returning _e_explicit_sync_fd_move()
Change-Id: I4e455f9b3de7f076da44d2c67d6445012b2bbee4
SooChan Lim [Tue, 13 Jun 2023 11:46:24 +0000 (20:46 +0900)]
e_explicit_sync: set explit_sync of e_client to be false at detroying explicit_sync
and clear the acquire_fence_fd.
If e_client is already deleted at _e_explicit_sync_surface_cb_resource_destroy(),
it just clear the acquire_fence_fd of explit_sync_surface.
Change-Id: I9e135fd1d2acab7d4bfb680b037ba05fc3f4911e
SooChan Lim [Tue, 13 Jun 2023 11:50:05 +0000 (20:50 +0900)]
e_explicit_sync: use _e_explicit_sync_fd_move/clear function at the case of pending_acquire_fence_fd
Moving/Clearing fd to pending_acquire_fence_fd does not require to set the aquire_fence_fd to the e_client.
Only setting pending_acquire_fence_fd to aquire_fence_fd requires to set the fd to the e_client.
Change-Id: Ib27b4c9e0054e3bf48c594ab1b29184470198c38
SooChan Lim [Tue, 13 Jun 2023 09:49:34 +0000 (18:49 +0900)]
e_client: remove the explicit_sync_surface member variable at e_client
It removes the dependency on E_Explicit_Sync_Surface at E_Client.
Change-Id: I5c53e67dd723bfc5bf4740e5cd559f23cec5e8c2
SooChan Lim [Tue, 13 Jun 2023 09:45:53 +0000 (18:45 +0900)]
e_explicit_sync: use e_cliet_explitcit_sync_get/set
e_explicit_sync uses e_client_explitcit_sync_get/set functions for
e_client to activate the explicit_sync instead of checking ec->explicit_sync_surface pointer.
Change-Id: I0f1b83d04dde881e77fe31f9f5ebc76d1d382086
SooChan Lim [Tue, 13 Jun 2023 09:32:06 +0000 (18:32 +0900)]
e_client: add explicit_sync_set/get function
If e_client uses the explicit_sync, explicit_sync is True or it is False.
Change-Id: Ic95fcf8591747e4cdae1ae582f1432f8c55fa3f9
SooChan Lim [Tue, 13 Jun 2023 09:27:05 +0000 (18:27 +0900)]
e_explicit_sync: remove the usage of ec->explicit_sync_surface at ec_free callback
ec->explicit_sync_surface variable will be removed.
Change-Id: I4605cc1e0d08b3176cac531bb1486dafa8c35a61
SooChan Lim [Tue, 13 Jun 2023 09:17:10 +0000 (18:17 +0900)]
e_explicit_sync: remove e_explicit_sync_surface_sync.
Change-Id: Ieb8c06afa6b45d8f4e939cfa9df73a0ce11b6c55
SooChan Lim [Tue, 13 Jun 2023 09:05:04 +0000 (18:05 +0900)]
e_hwc_windows: call e_egl_sync_wait function at e_hwc_windows.c
The logicn for the e_egl sync mechanism is implemented at e_hwc_windows
except for e_egl_sync_wait(). So move the code for e_egl_sync_wait() to
e_hwc_windows.c file. The e_explicit_sync_surface_sync will be deleted.
Change-Id: I14a110a0b4968c758bde66c1147abe967d9480d5
SooChan Lim [Tue, 13 Jun 2023 08:11:51 +0000 (17:11 +0900)]
e_hwc_window: get the aquire_fence_fd from e_client instead of e_explicit_sync.
For removal of the explicit_sync_surface member val at E_Client, the hwc_window gets
the aquire_fence_fd from e_client instead of getting if from ec->explicit_sync_surface.
Change-Id: I391e6175cc89136d37c9ff5c5c5e1d6d5a2dd3d8
SooChan Lim [Tue, 13 Jun 2023 08:08:29 +0000 (17:08 +0900)]
e_explicit_sync: make move and clear functions for acquire_fence_fd
Those functions also set the aquire_fence_fd to e_client.
Change-Id: Id0e7745eb0f6d690bf7d15652ba8c49e1e053dda
SooChan Lim [Tue, 13 Jun 2023 07:57:38 +0000 (16:57 +0900)]
e_client: add e_client_explicit_sync_acquire_fence_fd_get/set functions
The e_client contains the aquire_fence_fd of which value will be set by e_explicit_sync.
Change-Id: Idbd7f4bec006dcfd28a4858a85ddf228fd3045a6
SooChan Lim [Tue, 13 Jun 2023 06:01:59 +0000 (15:01 +0900)]
e_explicit_sync: remove e_explicit_sync_commit function.
Instead, the implementation of e_explicit_sync_surface_commit() fucntion is put
into _e_explicit_sync_surface_cb_wl_surface_commit() function
Change-Id: Ib3b4c2bb57dde9b8d235fb2f79857c11f9e4973d
SooChan Lim [Tue, 13 Jun 2023 05:50:09 +0000 (14:50 +0900)]
e_explicit_sync: add E_COMP_WL_HOOK_CLIENT_BEFORE_SURFACE_COMMIT callback function
The e_explicit_sync uses the E_COMP_WL_HOOK_CLIENT_BEFORE_SURFACE_COMMIT callback instead of
the call of e_explicit_sync_surface_commit at e_comp_wl.c
Change-Id: I9a1252c194d93513b2f531594390bdc27ed18e41
SooChan Lim [Tue, 13 Jun 2023 11:12:41 +0000 (20:12 +0900)]
e_comp_wl: add E_COMP_WL_HOOK_CLIENT_BEFORE_SURFACE_COMMIT
This hook call of this hook type is called before the commit functions of remote_surface, subsurface and surface.
Change-Id: I762e90e51bf1e09a752c0b31a0cf1712ee0fa5b2
Sungjin Park [Fri, 28 Apr 2023 03:15:50 +0000 (12:15 +0900)]
e_comp_wl & e_comp_wl_input: fixed pointer constraints logic using mouse in cb instead of focus cb
Change-Id: I128f39e302b920e85bb7ab17953a9e359973dc7a
Signed-off-by: Sungjin Park <sj76.park@samsung.com>
Sungjin Park [Thu, 27 Apr 2023 04:34:19 +0000 (13:34 +0900)]
e_comp_wl_input: fixed to use client's y position to warp pointer when locked pointer is destroyed
Change-Id: I276348fd94fc7b7a0a892d43a1e9fcd36c2d59dc
Signed-off-by: Sungjin Park <sj76.park@samsung.com>
Sungjin Park [Thu, 27 Apr 2023 04:31:14 +0000 (13:31 +0900)]
e_comp_wl_input: fixed to update region_pending in locked_pointer_set_region callback
Change-Id: I02aae0b8083c4a52258cd236b36edb61597371b6
Signed-off-by: Sungjin Park <sj76.park@samsung.com>
Sungjin Park [Thu, 27 Apr 2023 02:13:52 +0000 (11:13 +0900)]
ecomp_wl & e_comp_wl_input: moved header inclusion to .c file for relative pointer and pointer constraints
Change-Id: Ifb289508648b5ff5d269d727deb02d17ba10a457
Signed-off-by: Sungjin Park <sj76.park@samsung.com>
Sungjin Park [Tue, 25 Apr 2023 11:51:34 +0000 (20:51 +0900)]
e_comp_wl: prepend mouse move event handler to prevent mouse move propagation when required
Change-Id: Ic61a340f0fbab911747a46b2ff0fea352a301878
Signed-off-by: Sungjin Park <sj76.park@samsung.com>
Sungjin Park [Tue, 25 Apr 2023 11:49:31 +0000 (20:49 +0900)]
e_comp_wl_input: set/unset pointer relative motion handler when a pointer constraint is activated/deactivated
Change-Id: I5a279f8fe8186912850b50c0c1f09725a2258a4d
Signed-off-by: Sungjin Park <sj76.park@samsung.com>
Sungjin Park [Tue, 25 Apr 2023 11:38:25 +0000 (20:38 +0900)]
e_input_evdev: modified to send pointer relative motion event when required
Change-Id: I15850efd519d0481ad260b836d08ec844e9d00ab
Signed-off-by: Sungjin Park <sj76.park@samsung.com>
Sungjin Park [Tue, 25 Apr 2023 11:36:53 +0000 (20:36 +0900)]
e_input: added internal APIs to set/get pointer relative motion handler
Change-Id: I5e95285611c1f52b9531b1388dc96e3fd325bc40
Signed-off-by: Sungjin Park <sj76.park@samsung.com>
Sungjin Park [Tue, 25 Apr 2023 11:25:02 +0000 (20:25 +0900)]
e_comp_wl & e_comp_wl_input: added signal emitters for pointer constraints
Change-Id: I868c98a32d62bbb722950ed40e1f4228ce661364
Signed-off-by: Sungjin Park <sj76.park@samsung.com>
Sungjin Park [Tue, 25 Apr 2023 11:18:24 +0000 (20:18 +0900)]
e_comp_wl & e_comp_wl_input: added implementation for zwp_pointer_constraints_v1_interface
Change-Id: Ib8393b03d78761e97cd92cd2b179d0d877ff1c25
Signed-off-by: Sungjin Park <sj76.park@samsung.com>
Sungjin Park [Tue, 25 Apr 2023 10:52:09 +0000 (19:52 +0900)]
e_comp_wl & e_comp_wl_input: added implementation for zwp_relative_pointer_v1_interface
Change-Id: Ic712d83511d7a3f7bcdc61a5e12640d5f5ad4e6e
Signed-off-by: Sungjin Park <sj76.park@samsung.com>
Sungjin Park [Tue, 25 Apr 2023 07:49:24 +0000 (16:49 +0900)]
packaging: added support for relative pointer and pointer constraints wayland extension
Change-Id: Ib19f6fd473dc3d7356bb107ae80d48ad5a18cec8
Signed-off-by: Sungjin Park <sj76.park@samsung.com>
Junseok Kim [Wed, 28 Jun 2023 07:15:21 +0000 (16:15 +0900)]
e_actions: restore action codes for window_move and window_resize
Change-Id: Ie1011d189f6e5217936f7b0097d2218ab8b64aab
Junseok Kim [Thu, 15 Jun 2023 10:59:34 +0000 (19:59 +0900)]
e_client: meld pass 2 and pass3 into one pass in e_client_idler_before
Change-Id: I15ee1bda8e7f891d0f1af9bdfad9d9a7c3ada99d
Junseok Kim [Thu, 15 Jun 2023 10:57:40 +0000 (19:57 +0900)]
e_client: remove code for move lost window to center
Change-Id: Ic527377b5a2c4d5777db9e664248f6e5c9c666f5
Junseok Kim [Thu, 15 Jun 2023 09:08:06 +0000 (18:08 +0900)]
e_client: remove e_client layout callback
Change-Id: Iff485b96b9eedd5554392ea0e9a95740778b0717