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:
d7c4ee2
)
e_client: revert focus when focused window is out of screen
accepted/tizen/3.0/common/20170814.174938
accepted/tizen/3.0/ivi/20170813.224834
accepted/tizen/3.0/mobile/20170813.224815
accepted/tizen/3.0/tv/20170813.224827
accepted/tizen/3.0/wearable/20170813.224821
submit/tizen_3.0/20170813.061458
author
Doyoun Kang
<doyoun.kang@samsung.com>
Sun, 13 Aug 2017 04:50:25 +0000
(13:50 +0900)
committer
Doyoun Kang
<doyoun.kang@samsung.com>
Sun, 13 Aug 2017 06:06:05 +0000
(15:06 +0900)
Change-Id: I8bc25b8701b5ef5856d81a28fe321f8201676a85
src/bin/e_client.c
patch
|
blob
|
history
diff --git
a/src/bin/e_client.c
b/src/bin/e_client.c
index a38a4559d923f00f4f403868d97e4945d4e890b2..a75fdeb64b6a13068b7cf3498a13713e75ea6fdd 100644
(file)
--- a/
src/bin/e_client.c
+++ b/
src/bin/e_client.c
@@
-1916,6
+1916,15
@@
_e_client_cb_evas_move(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UN
ec->pre_cb.x = x; ec->pre_cb.y = y;
+ if (ec->focused)
+ {
+ if (!E_INTERSECTS(ec->x, ec->y, ec->w, ec->h,
+ ec->zone->x, ec->zone->y, ec->zone->w, ec->zone->h))
+ {
+ _e_client_revert_focus(ec);
+ }
+ }
+
e_client_visibility_calculate();
}