Changyeon Lee [Wed, 8 Aug 2018 08:21:45 +0000 (17:21 +0900)]
hwc: fix sending worng touch position when ec is transform for hwc
- generally touch position is calculated with img object size(last child object of smart object).
- if ec is transform for hwc and screen rotation, img object is resized by transformed buffer
and then evas calculate touch position with transformed size and e20 get worng touch position.
- for calculating touch position with surface size, e20 add map_input_obj and resize with surface
size when ec is transformed
- but evas can't change evas_object which calculated (img obj->map_input_obj) when touch is pressed
- so ec isn't available hwc if client is needed transform and touch is pressed
Change-Id: Ide8d29a3f1d30c8cd69c434077c636ed90e5fe59
Changyeon Lee [Mon, 6 Aug 2018 08:24:21 +0000 (17:24 +0900)]
e_plane_renderer: allocate reserved tsurface according to output rotation
Conflicts:
src/bin/e_plane_renderer.c
Change-Id: Iceea0d0f2bbb2742793e64e0fb10ada5174d1263
Doyoun Kang [Mon, 20 Aug 2018 11:45:53 +0000 (20:45 +0900)]
e_client: check mapped condition when e_client_iconify
There was a bug that the unmapped window was iconified by window manager.
So, we add code to check an unmap state of window in e_client_iconify function.
Change-Id: I3cc8df8d59eb0feef4e533191c54841aa0b61c76
Doyoun Kang [Mon, 20 Aug 2018 09:59:04 +0000 (18:59 +0900)]
e_client: check mapped condition before calling evas_object_show in e_client_uniconify
The window which had unmapped and iconified by client didn't show when it called show at the first time.
We fixed this problem.
Also, this patch can resolve a bug resolved by below patch.
- e_client: check mapped condition when e_client_uniconify
- commit id:
632261617acada66b019931de981eed332f50f04
Change-Id: Ibc5b84ee047002e5d6ee9bfd7c4a4284ffab8174
Sung-Jin Park [Mon, 20 Aug 2018 07:18:27 +0000 (16:18 +0900)]
e_input_device: get/set udev monitor information on libinput
Change-Id: I71cc583e2f0c059137f89321529abcca9afae5d8
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
Gwanglim Lee [Mon, 20 Aug 2018 08:51:16 +0000 (17:51 +0900)]
fixed a warning
Change-Id: I6bfd737b116b1d6bd6dd07ac6739f73aee4b4132
Seunghun Lee [Mon, 20 Aug 2018 07:10:23 +0000 (16:10 +0900)]
e_comp_wl_viewport: Set 'viewport->destination.mode.resource' to null when resource is destroyed.
fix heap-use-after-free issue.
Change-Id: I24e0f4814f80ebf335a36934bfe88ece2cb2b985
SooChan Lim [Mon, 30 Jul 2018 08:31:59 +0000 (17:31 +0900)]
add avoid_afill option
The avoid_afill option is for initializing ecore_evas engine.
When the avoid_afill is 1, e20 uses the gl_tbm_ES engine.
The gl_tbm_ES engine does not fill 0xff the alpha channel even if
the depth of the ecore_evas is 24 depth and the bpp of the buffer
is 32bits.
Otherwise, the gl_tbm engine which is used when the avoid_afill is 0
(default value) fills the 0xff at the same condition.
p.s. this patch is temporary. therefore it will be revoved later.
Change-Id: I8af6e3be883d800687a8cfd893bd5f5c2555eddf
Junkyeong Kim [Fri, 17 Aug 2018 06:35:57 +0000 (15:35 +0900)]
e_comp_wl_video: fix wrong argument passing
Change-Id: Ibfb3260f557c73178c9e4ad8ea5643e8a3541ceb
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Thu, 16 Aug 2018 09:55:04 +0000 (18:55 +0900)]
e_plane:remove pp_pending data only dpms off
Change-Id: I011549447ba9db9fff09e89e35609d6bc6103fa0
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Doyoun Kang [Tue, 14 Aug 2018 01:09:56 +0000 (10:09 +0900)]
e_policy_visibility: add code to check child's uniconify_render state in intercept show
There was a case that a window was waiting for uniconify_render of child window which
had done uniconify_render in intercept show function.
So, we add an additional checking code not to wait child's uniconify_render.
Change-Id: I0ae12a4dded3bb9db61db8da95d991f6217dba2e
Seunghun Lee [Mon, 13 Aug 2018 12:21:04 +0000 (21:21 +0900)]
e_xdg_shell_v6: fix typo
Change-Id: Ia786ffb8a768c23f717f09b55e915cb8a17fad9b
Seunghun Lee [Mon, 13 Aug 2018 11:51:18 +0000 (20:51 +0900)]
e_xdg_shell_v6: set null after destroying shell of e_client, ec will be freed.
fix memory violation, heap-use-after-free
Change-Id: I97b665e317e2e0decd8820e592fdd0e9e9505068
JunSeok, Kim [Mon, 13 Aug 2018 07:38:26 +0000 (16:38 +0900)]
e_comp_wl: accepts_focus set true at wl_surface_create instead of xdg_shell_toplevel_set
if accepts_focus set TRUE in xdg_shell_toplevel_set can occure timing issue with focus_skip_set.
in evas_object_show, xdg_shell_toplevel_set is always set the accepts_focus to TRUE
if visibility calculation occurs before processing tizen_policy_set_focus_skip, focus will be in&out quickly.
this patch fix the issue.
Change-Id: I9441770a0c050899da32896833174dd4db709f4b
JengHyun Kang [Fri, 10 Aug 2018 09:08:23 +0000 (18:08 +0900)]
e_input: set correct coords info following correct mt_slot
Change-Id: I48426afedc3c432c7664d6a71a74a43dffc036d0
JengHyun Kang [Fri, 10 Aug 2018 06:40:56 +0000 (15:40 +0900)]
e_comp_wl: send key events to E_client's wayland client
Change-Id: Ieccb7fb8a3bdb69ff99e2a41c35881513d4a0192
Changyeon Lee [Thu, 9 Aug 2018 03:00:47 +0000 (12:00 +0900)]
hwc_windows: set hwc_window to queue if preparation type is buffer queue
Change-Id: Ic756a029adf687d8fa55bbe04fbe003e6482025b
Changyeon Lee [Wed, 8 Aug 2018 09:58:25 +0000 (18:58 +0900)]
hwc_windows: support displaying video of hwc_window
Change-Id: I29f0f95f979c2ca27bc8ee4f6113dbd8d13c530a
Changyeon Lee [Thu, 9 Aug 2018 07:11:29 +0000 (16:11 +0900)]
hwc_window_queue: remove unused value
Change-Id: Ie333a85dd8d7ac28d61adda7edeb5e8ad86f4b1d
Changyeon Lee [Thu, 9 Aug 2018 07:05:21 +0000 (16:05 +0900)]
hwc_window_queue: fix memory leak
Change-Id: Iaa4579ab2cb0f04a1075d2cb73615dba94365c68
JunSeok, Kim [Thu, 9 Aug 2018 07:29:39 +0000 (16:29 +0900)]
e_test_helper: added null check of ec
Change-Id: I2bdd23ead16815a616a30816d17056bccdf91902
JunSeok, Kim [Thu, 9 Aug 2018 07:17:10 +0000 (16:17 +0900)]
e_utils: free dir_path under error condition.
Change-Id: I5b62c33ea3452b9628425db0b85b0bbdfb0920da
JunSeok, Kim [Thu, 9 Aug 2018 07:11:52 +0000 (16:11 +0900)]
e_info_server: Moved log before destroy client that used in the log
Change-Id: I1ab517785247eb3ff921bd31cce0235cbb2ed015
Changyeon Lee [Thu, 9 Aug 2018 07:02:54 +0000 (16:02 +0900)]
hwc_window_queue: fix dereferencing null pointer
Change-Id: I893fab3dadbad1aa743b5911415cdbe6d15c85f1
Changyeon Lee [Thu, 9 Aug 2018 06:50:11 +0000 (15:50 +0900)]
hwc_window_queue: remove unnecessary null checking
Change-Id: I3db95bc6b6dea63a3a23cb61e97c7c4160304289
Sung-Jin Park [Mon, 6 Aug 2018 11:27:39 +0000 (20:27 +0900)]
e_info_server/client: add an option to destroy a wayland client with the given pid
Change-Id: I50243921028643af7d0519f9306899a9cfc398a1
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
Seunghun Lee [Tue, 31 Jul 2018 08:48:45 +0000 (17:48 +0900)]
e_xdg_shell_v6: used 'e_object' for managing instance of E_Xdg_Surface.
A instance of 'E_Xdg_Surface' is shared for zxdg_surface_v6, zxdg_toplevel_v6
and zxdg_popup_v6. So, managed it by e_object's reference method.
Change-Id: I3d3e19456e7240b6785ae65ef3d9160d730e9002
Seunghun Lee [Tue, 31 Jul 2018 05:35:02 +0000 (14:35 +0900)]
e_xdg_shell_v6: reset E_Client's xdg_shell assignment when xdg_surface is destroyed.
Change-Id: I4b1516b8abca91e7e968428e9a0c3f15464a5b49
Seunghun Lee [Mon, 30 Jul 2018 09:46:16 +0000 (18:46 +0900)]
e_xdg_shell_v6: Freed a memory 'E_Xdg_Surface_Configure' when cleanup the configure_list.
fix a memory leak
Change-Id: I7329678c86dbd864d8afae021d6dc4f99c8e3331
Seunghun Lee [Mon, 30 Jul 2018 09:42:53 +0000 (18:42 +0900)]
e_xdg_shell_v6: compare with proper enum type
Change-Id: I7572b5192e98394e5252c7e4b601ed1285d6236f
Changyeon Lee [Wed, 1 Aug 2018 09:26:15 +0000 (18:26 +0900)]
hwc_window: redesign hwc_windows to prevent flickering in transition
- always update buffer and info are changed
- if buffer of target_window isn't matched with current evaluation, skip buffer
- hwc only evaluate windows when visible_window or buffer or info are changed
Change-Id: I481086e190ca96d58c638abbd892c27949331ad4
Changyeon Lee [Wed, 1 Aug 2018 09:06:21 +0000 (18:06 +0900)]
hwc_windows: use tdm_hwc_commit instead tdm_output_commit
Change-Id: I24c39020fcceb7761fe615f35ec449537c1a0e55
Changyeon Lee [Wed, 1 Aug 2018 09:01:30 +0000 (18:01 +0900)]
hwc_windows: update ec of hwc_window redirect after validate
- render_target means hwc_window is rendered on gl_compositor
- render_target is set/unset when hwc_window is set to DEVICE/CLIENT
Change-Id: I159945670a40eb5164f15feda2eb5ef35f660b47
Changyeon Lee [Wed, 1 Aug 2018 08:28:05 +0000 (17:28 +0900)]
hwc_windows: update accepted_state and activate after hwc_accept
Change-Id: Iff381a21d60bbdaa7ae47467346fface3b687d00
Changyeon Lee [Wed, 1 Aug 2018 07:34:10 +0000 (16:34 +0900)]
hwc_window: manage rendered tsurfaces as a list
- compositor can have several rendered tsurface
- ref/unref hwc_window when add/remove to render_list
- it is appended that tbm_surface which dequeued in manual_render
Change-Id: I4dffd0c8a71d6d127cc357512c7e565a0e53ca54
Changyeon Lee [Wed, 1 Aug 2018 05:56:08 +0000 (14:56 +0900)]
hwc_window: clean up code and log
- use EHWTRACE, EHWINF log instead ELOGF
- remove unnecessary log
- fix indentation and typo
- remove unused func
Change-Id: I4d14906d89f3a6cb982ba6f2f672f72d942f0433
Changyeon Lee [Tue, 31 Jul 2018 11:09:55 +0000 (20:09 +0900)]
hwc_window: wrapped cursor infomation to struct
Change-Id: I4db0835c83bb15fa446c4ef8a878ea80ad689d1f
Changyeon Lee [Tue, 31 Jul 2018 10:44:18 +0000 (19:44 +0900)]
hwc: added e_hwc_window_queue
- E_Hwc_Window_Queue is used by hwc_window
- if hwc_window use queue, set and commit tsurface is acquired from queue
- hwc_window should release tsurface to queue when hwc_window doens't use
tsurface anymore
- Normally target_window uses a queue, client hwc_window use queue when
reserved memory target
Change-Id: I1eec6b13a821259679300042f47a00e363daf942
Sung-Jin Park [Wed, 1 Aug 2018 09:39:29 +0000 (18:39 +0900)]
e_utils: add support for monitoring file creation in the given directory
Change-Id: Ie8b73efdb1f5971710ad43cc984d35619b72e498
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
Changyeon Lee [Wed, 1 Aug 2018 07:06:55 +0000 (16:06 +0900)]
hwc_window: change hwc_window hook func from EAPI to EINTERN
Change-Id: I69447981d73eda30e93609f36eaa8049ccf28724
Changyeon Lee [Tue, 31 Jul 2018 08:46:16 +0000 (17:46 +0900)]
hwc_windows: clean up log
use EHWSTRACE macro and removed unnecessary log
Change-Id: Ifa1831288d8527f8440c0f63ccf3a25b5fe185d3
Changyeon Lee [Tue, 31 Jul 2018 08:22:18 +0000 (17:22 +0900)]
hwc_window: added e_hwc_window_name_get
Change-Id: Id6621dc23deebd2d3a4df6deceeafb0a0344db50
Changyeon Lee [Tue, 31 Jul 2018 07:36:25 +0000 (16:36 +0900)]
hwc_window: used list for managing of hook and event handler
Change-Id: I701d1118a2a61716379b9e5a21a7ba9ae7ce578f
Changyeon Lee [Tue, 31 Jul 2018 07:13:16 +0000 (16:13 +0900)]
hwc_window: used e_object when allocating e_hwc_window
ref/unref of e_hwc_window are needed, so e_hwc_window is allocated
with e_object
Change-Id: If8240d4fe5abcec0d236aa56c9afb8718d4aac3b
Changyeon Lee [Tue, 31 Jul 2018 06:50:18 +0000 (15:50 +0900)]
hwc_window: remove unused enum value
E_HWC_WINDOW_STATE_DEVICE_CANDIDATE and E_HWC_WINDOW_ACTIVATION_STATE_NONE
isn't needed
Change-Id: Ib36a31af8a2ae81e78cf774a09067098632fa2f9
Changyeon Lee [Tue, 31 Jul 2018 06:38:22 +0000 (15:38 +0900)]
hwc_window: added ACCEPTED_STATE_CHANGE hook
Change-Id: I322ac537931bb8e3c5910c2761cf53ded595bcba
Changyeon Lee [Tue, 31 Jul 2018 05:47:57 +0000 (14:47 +0900)]
hwc_window: added accepted_state and removed prev_state
accepted_state is set after changing of composition state is accepted
Change-Id: Icacd8f0522a2a63f84add5f4daabf903e9bb9a1c
Changyeon Lee [Tue, 31 Jul 2018 05:38:29 +0000 (14:38 +0900)]
hwc_window: added macro for log
Change-Id: I3fcb0b48903e8f5998f65455f0a86e809440557f
Changyeon Lee [Tue, 31 Jul 2018 03:13:42 +0000 (12:13 +0900)]
hwc: get tdm_hwc before ecore_evas init
tdm_hwc is needed for getting tbm_surface_queue of target
Change-Id: If34affb73a63da01187b844ab296c32e67a7b76e
JunSeok, Kim [Tue, 31 Jul 2018 03:46:33 +0000 (12:46 +0900)]
e_test_helper: Added eldbus callback for SetWindowFocusSkip
Change-Id: I2acf8e0a2a4e033bc9dcaa45d96c385768cb55a3
JunSeok, Kim [Tue, 31 Jul 2018 03:46:21 +0000 (12:46 +0900)]
e_test_helper: Added eldbus callback for SetWindowNotiLevel
Change-Id: I5b50abb660b4902d03d88683d17cf4def21c7594
JunSeok, Kim [Tue, 31 Jul 2018 03:45:40 +0000 (12:45 +0900)]
e_test_helper: Added eldbus callback for SetWindowTransientFor
Change-Id: Id6ca5bc6311874ff95cc76436fb15186671d1cc1
JunSeok, Kim [Tue, 31 Jul 2018 03:44:47 +0000 (12:44 +0900)]
e_test_helper: Added eldbus callback for SetWindowIconify
Change-Id: If52a189daa95ce69c740c6a57cc7697b859b5d3c
JunSeok, Kim [Tue, 31 Jul 2018 03:35:15 +0000 (12:35 +0900)]
e_test_helper: Added eldbus callback for SetWindowActivate
Change-Id: I7ebd1ac0952b3e78df3ab548ad9d1d20d282fd62
Sung-Jin Park [Tue, 31 Jul 2018 04:37:11 +0000 (13:37 +0900)]
e_utils: add e_util_file_monitor API to monitor the creation of the given path of file
Change-Id: I0599a1783256f5b6b0fcf3c644c3f448a580c1d4
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
JengHyun Kang [Mon, 30 Jul 2018 10:32:18 +0000 (19:32 +0900)]
e_input: check and set touch device class to touch aux events
Change-Id: I266b60b8a003bf3bfb083108d84fe580838590ff
JengHyun Kang [Mon, 30 Jul 2018 08:55:33 +0000 (17:55 +0900)]
e_input: check device's class before find ecore_device for events
Change-Id: If0d011bdd6d9ede91d8aceff8f85eb4ff1756481
Doyoun Kang [Mon, 30 Jul 2018 08:28:06 +0000 (17:28 +0900)]
input region: fix bug for setting input_region
There was a bug that the input region was not applied if it was set before showing window.
Change-Id: I80424219d3ccd384e440c4a62506769c98878d15
Doyoun Kang [Thu, 26 Jul 2018 12:48:04 +0000 (21:48 +0900)]
e_comp_wl: fix bug for creating region
There was a bug that the tiler size was wrong while handling creating region.
So, we add the code to check screen rotation value.
Change-Id: I8b39305aadfe434fe6c1c4f7aad98b5bb1da1e7b
Junkyeong Kim [Fri, 27 Jul 2018 04:50:06 +0000 (13:50 +0900)]
viewport: fix croped full calculation error if transform set 90 or 270
Change-Id: Iee795785e7513df4c72766e83b241944e62ec376
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Changyeon Lee [Thu, 26 Jul 2018 11:48:22 +0000 (20:48 +0900)]
e_plane_renderer: reset renderer of ec in deactivate if ec is deleted
if ec of renderer is deleted, e_plane_ec_set and reserved_deactivate is called
in _e_plane_renderer_client_cb_del.
reset renderer of ec in reserved_deactivate to prevent acces to freed ec
Change-Id: Iacbe344dcbdd8f3610915d0a9cf80daafac5b2ee
Doyoun Kang [Fri, 27 Jul 2018 04:43:26 +0000 (13:43 +0900)]
e_comp_wl_shell: reset ec's visibility.last_sent_type value when it is unmapped
Change-Id: Id47c30c80dd8f690361c4a3190ee9c12d399890f
Juyeon Lee [Tue, 24 Jul 2018 07:11:53 +0000 (16:11 +0900)]
e_comp_object: check pixmap available when e_comp_object_dirty
e_pixmap_size_get returns last attached buffer size (from commit
f009a9a4 )
eventhough it is destroyed, so check resource
Change-Id: Ie1a38be03ba6564e59a2dc54494f4de0920f49a1
Doyoun Kang [Mon, 23 Jul 2018 04:29:47 +0000 (13:29 +0900)]
e_policy_wl_display: fix bug for handling screen mode
There was a bug that display mode couldnot change to normal when the alpha window
which set a display mode to always_on was destroyed.
Change-Id: I004d4fe5ce4dad864f57d817a7676ecf35e3dba4
Doyoun Kang [Mon, 23 Jul 2018 04:27:45 +0000 (13:27 +0900)]
e_policy_wl_display: change code for logging
Change-Id: Ia142a9f8ed4f0c2d643b082bd6bfdda616a4b8b5
Doyoun Kang [Fri, 20 Jul 2018 10:20:01 +0000 (19:20 +0900)]
e_client: check window's iconic state while handling focus
We didn't check the iconic state, so there was a possibility that the iconified window got focus.
Change-Id: I24a1f33edab1c12137f561865832688f01b33e7e
Changyeon Lee [Thu, 12 Jul 2018 09:46:15 +0000 (18:46 +0900)]
e_plane: set unset_counter to 1 when fb_target is unset to hwc
unset_counter is set to 0 when fb_target used by hwc because
compositor is disabled and then plane doesn't need to sync with fb_target.
but unset_candidate plane should sync with fb_target when fb_target is unset to hwc.
so if plane is unset_candidate and unset_counter is 0, set unset_counter to 1
for sync with compositor
Change-Id: I62bae00c12fd3d0e68c9986b2a8b0d8f3ebec952
SooChan Lim [Tue, 17 Jul 2018 09:57:48 +0000 (18:57 +0900)]
e_comp_screen: add ttrace log at the initial time
Change-Id: I5a214ddb3ce31a6925ac63aa8edebb2b1e45a989
Sung-Jin Park [Tue, 17 Jul 2018 06:23:55 +0000 (15:23 +0900)]
e_dbus_conn : rename from e_dbus as it has some intersections with edbus stuff
Change-Id: I9bc93b26b79fa26b1e2ec1f9e2464faf147d0bae
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
JengHyun Kang [Mon, 28 May 2018 11:44:15 +0000 (20:44 +0900)]
e_info: print input_region information using winfo
Change-Id: Id1748ccf69f0aaf454ceca6f9c599bfba39fad64
junghwan Choi [Mon, 16 Jul 2018 02:04:17 +0000 (11:04 +0900)]
e_info_server : transform info shows up to three decimal points.
Change-Id: Ifba711ded2d156fce706ad97e5b2a8e630dfca27
Sung-Jin Park [Fri, 13 Jul 2018 07:47:10 +0000 (16:47 +0900)]
e_client : remove build warning regarding 'const' qualifier
Change-Id: I958fb8b4fb9b78f26c199ffea537716c4d448607
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
Doyoun Kang [Thu, 12 Jul 2018 10:41:46 +0000 (19:41 +0900)]
e_policy: check uniconify_render_running before sending visibility event
There was a bug that e sent a fully-obscured event to the window which was running uniconify_render.
Change-Id: I728b6718cd56e9f5d7a0cbc2324d36d51c93943a
Lisa kim [Mon, 30 Apr 2018 07:46:54 +0000 (16:46 +0900)]
e_client : add condition for waiting view port setting
display server waits until user set view port.
some of clients only create the viewport and do not using viewport.
in this case, even the subsurface of this window set viewport, display server cannot detect because display server waits until the viewport set of this window.
this patch only adapt viewport wait feature for the leaf node of subsurfaces.
Change-Id: Ibfabe4d520a16f8385b617b22246a8a5a05ccc65
Signed-off-by: Lisa kim <hj0530.kim@samsung.com>
Seungjin Park [Fri, 29 Jun 2018 06:16:48 +0000 (15:16 +0900)]
transform: Update transform state whenever below bg rectangle is created
There was an issue that displays full-size punched area because map wasn't applied to below object.
Change-Id: I524f27f8aefb8a0f24d30b43380289df726f18e0
Signed-off-by: Seungjin Park <sj8808.park@samsung.com>
Sung-Jin Park [Wed, 4 Jul 2018 11:08:44 +0000 (20:08 +0900)]
e_dbus : add initial version to provide dbus connection initialization
Change-Id: Idc4204d2e949449f2be03d0b508b7c44e21fb58d
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
JengHyun Kang [Fri, 6 Jul 2018 04:02:47 +0000 (13:02 +0900)]
config: enable extra touch axis, if libinput support extra touch axis
Change-Id: I8ca786d8b7769590f1e07356ec57b51aea38091f
JengHyun Kang [Wed, 4 Jul 2018 04:34:30 +0000 (13:34 +0900)]
e_comp_wl: transform a cursor pointer following a window transformation
Change-Id: I6b011c1ba1ecea5302ccadabf47daa571c05bfa5
Doyoun Kang [Thu, 5 Jul 2018 09:42:15 +0000 (18:42 +0900)]
e_policy_visibility: check last_sent_type before sending pre-unobscured event
If a last_sent_type is E_VISIBILITY_PRE_UNOBSCURED or E_VISIBILITY_UNOBSCURED,
then we don't send E_VISIBILITY_PRE_UNOBSCURED event.
Change-Id: I04070661d19dcd970c62160437c5ebc6dd0c3dbb
JunSeok, Kim [Wed, 4 Jul 2018 08:31:19 +0000 (17:31 +0900)]
e_comp_object: defer_focus set when ec turn to uniconic state with evas_object_show
There was a bug when partial window calls evas_object_show -> raise.
Because of this bug, the window cannot get focus.
This patch is solve this problem to call defer_focus_set when vis_ec turn to uniconic state.
Change-Id: I01f6b85de25641ac33c7433724b7fe8bf5b7a429
Doyoun Kang [Tue, 3 Jul 2018 06:57:14 +0000 (15:57 +0900)]
e_info_server: fix out-of-bounds-write issue
Change-Id: I0f973d8107fcb4f5e2558bc8301409eaf51f7414
Doyoun Kang [Mon, 2 Jul 2018 07:00:11 +0000 (16:00 +0900)]
modify check condition before calling e_client_post_raise_lower_set
There was a bug that the lower operation of unmapped window was not work if the window ever mapped.
So, we replaced code to "!ec->comp_data->mapped" from "!ec->first_mapped" before calling
e_client_post_raise_lower_set.
Change-Id: Ib487feb86e3ed4b772f1dfd17dd691e3a61ddf78
JengHyun Kang [Fri, 29 Jun 2018 07:50:50 +0000 (16:50 +0900)]
e_input: add a new API e_input_device_mouse_accel_speed_set()
Change-Id: I4275c39c031142626172d71c02745213e7132d10
Juyeon Lee [Mon, 2 Jul 2018 04:18:41 +0000 (13:18 +0900)]
e_xdg_shell_v6: return if popup_resource is null
fix coverity
Change-Id: I03390a8c18d847efa8227b77c790429124ac22ce
Doyoun Kang [Fri, 29 Jun 2018 11:04:21 +0000 (20:04 +0900)]
e_policy: fix bug for sending visibility event
There was a bug that the window didn't get fully-obscured event when it was
iconified by visibility after getting pre-unobscured event.
So, app's state remained to "resume" not "pause".
This patch sends unobscured and fully-obscured event to the iconified window
to change its state correctly.
Change-Id: I43a3b66ab71b204854d2e19f2aa23d3551f3ba10
Doyoun Kang [Fri, 29 Jun 2018 07:42:10 +0000 (16:42 +0900)]
e_comp_wl_video: fix build warning
Change-Id: I255ae2c222bc87ba4ef6c28ff1ce0f7a0cc600a5
JengHyun Kang [Thu, 21 Jun 2018 13:54:16 +0000 (22:54 +0900)]
e_keyrouter: call hook functions about release events, if press events call hook functions
Change-Id: Ie3962a9a1d4666958c5e83655a926ec6a8fa3082
Seunghun Lee [Tue, 26 Jun 2018 10:37:35 +0000 (19:37 +0900)]
video: Remove waiting_video_set flag and using video_plane_ready_handler for it.
Video_set_hook was renamed video_plane_ready_handler to improve readability.
Plus, video_plane_ready_handler is goning to be deleted after doing its work.
Thus, we can check video_plane_ready_handler instead of waiting_video_set and
remove waiting_video_set flag.
Change-Id: Id6dd54edb288f70c8cbb3f7c6fcef26827f35d53
Seunghun Lee [Mon, 25 Jun 2018 11:52:08 +0000 (20:52 +0900)]
video: Remove useless code calling find_video_with_surface() in _e_video_layer_get_displaying_buffer().
Change-Id: I889338a4d64b388eb51a403759e2645270d34ad1
Seunghun Lee [Mon, 25 Jun 2018 08:50:28 +0000 (17:50 +0900)]
video: move a comment proper line
Change-Id: Ia8fdda18cbb2339b0edc9fd650903f6e424d557a
Seunghun Lee [Mon, 25 Jun 2018 07:53:37 +0000 (16:53 +0900)]
video: Remove find_topmost_parent_get(), and use e_comp_wl implementation.
Use e_comp_wl_topmost_parent_get() instead of its video own implementation,
find_topmost_parent_get().
Change-Id: Ia248a7197bfc76ff3d0f96031aba15690c222b08
Seunghun Lee [Mon, 25 Jun 2018 02:38:48 +0000 (11:38 +0900)]
video: Added a function for duplicated code.
Added functions for commiting buffer, _e_video_commit_from_waiting_list() and
_e_video_commit_buffer().
Change-Id: Ib64a77e43a22e4bec943c887637a01835b73b9cf
Seunghun Lee [Fri, 22 Jun 2018 07:44:32 +0000 (16:44 +0900)]
video: fix formatting.
Change-Id: I8c7d8f50acb63ef4b82ccbe94bcf60a4be19a982
Seunghun Lee [Fri, 22 Jun 2018 06:49:21 +0000 (15:49 +0900)]
video: use e_comp_screen_pp_support() instead of tdm_display interface directly.
Change-Id: I598e791378e141b8e56e33c30a81b5c33209b539
Seunghun Lee [Fri, 22 Jun 2018 04:48:38 +0000 (13:48 +0900)]
video: move a comment proper line
Change-Id: I43d4f0362d639b35b06844c5c78c64cabb67ede8
Seunghun Lee [Fri, 22 Jun 2018 04:06:15 +0000 (13:06 +0900)]
video: Destroy wl_global for 'tizen_video' when 'e_comp_wl_video_shutdown()'.
Change-Id: I9f79f16df3c4913d7c0071e6df8ad64b15797844
Seunghun Lee [Thu, 21 Jun 2018 09:01:57 +0000 (18:01 +0900)]
video: Remove unused function. (e_comp_wl_video_layer_get)
Change-Id: I5ec4dfd094ace5cd6268ec28307d232c72c9e514
Seunghun Lee [Wed, 20 Jun 2018 07:33:45 +0000 (16:33 +0900)]
video: fix formatting.
Change-Id: I8a94a99ee5bd7a71507899d5f3f9809cef180b19
Seunghun Lee [Wed, 20 Jun 2018 07:25:22 +0000 (16:25 +0900)]
video: Don't pass a null argument to tdm_layer_get_capabilities().
Change-Id: I3cfdf3800b353c7c9834b5025ad56454bbc99269
Seunghun Lee [Wed, 20 Jun 2018 06:14:33 +0000 (15:14 +0900)]
video: delete unreachable and wrong check code.
Change-Id: Ic4ce783ac8197a5b60e885f70a8dd644ae76af52