projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cac4286
)
e_policy_visibility: check last_sent_type before sending pre-unobscured event
05/187305/1
author
Doyoun Kang
<doyoun.kang@samsung.com>
Thu, 5 Jul 2018 09:42:15 +0000
(18:42 +0900)
committer
Doyoun Kang
<doyoun.kang@samsung.com>
Tue, 21 Aug 2018 08:27:17 +0000
(17:27 +0900)
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
src/bin/e_policy_visibility.c
patch
|
blob
|
history
diff --git
a/src/bin/e_policy_visibility.c
b/src/bin/e_policy_visibility.c
index fab5cb78030789c9418452f7b506cb0ec1a51cc0..932a4430f8d1538f1c2623628e2c1678e9c769b8 100644
(file)
--- a/
src/bin/e_policy_visibility.c
+++ b/
src/bin/e_policy_visibility.c
@@
-1101,6
+1101,9
@@
e_vis_client_send_pre_visibility_event(E_Client *ec)
Eina_Bool intercepted;
if (!ec) return;
+ if ((ec->visibility.last_sent_type == E_VISIBILITY_PRE_UNOBSCURED) ||
+ (ec->visibility.last_sent_type == E_VISIBILITY_UNOBSCURED))
+ return;
intercepted = e_policy_interceptor_call(E_POLICY_INTERCEPT_SEND_PRE_VISIBILITY, ec);
if (intercepted)