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:
84cf284
)
e_client: revert focus when focused window is out of screen
88/143888/3
submit/tizen/20170813.060819
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 05:25:49 +0000
(14:25 +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 163c535a6b4485a5f8e59798ef950ad3c160ec00..f75747faef315673097bac991456f794c3cc5327 100644
(file)
--- a/
src/bin/e_client.c
+++ b/
src/bin/e_client.c
@@
-1927,6
+1927,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();
}