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:
33ca296
)
quickpanel: do not choice a client which is in out of screen as a visible below client.
43/104343/2
author
Seunghun Lee
<shiin.lee@samsung.com>
Tue, 13 Dec 2016 06:29:48 +0000
(15:29 +0900)
committer
Gwanglim Lee
<gl77.lee@samsung.com>
Tue, 13 Dec 2016 11:20:05 +0000
(
03:20
-0800)
Change-Id: Ie3e9ac41975826b1347b4775860d8c60c3b8b29d
src/bin/services/e_service_quickpanel.c
patch
|
blob
|
history
diff --git
a/src/bin/services/e_service_quickpanel.c
b/src/bin/services/e_service_quickpanel.c
index c05bc9846d3851098bb4d250518eb5102783c4ab..a111b7b9cfd6f3c0a49bfc931b5258216cc75f9b 100644
(file)
--- a/
src/bin/services/e_service_quickpanel.c
+++ b/
src/bin/services/e_service_quickpanel.c
@@
-1136,10
+1136,17
@@
static E_Client *
_quickpanel_below_visible_client_get(E_Policy_Quickpanel *qp)
{
E_Client *ec;
+ int zx, zy, zw, zh;
+
+ zx = qp->ec->zone->x;
+ zy = qp->ec->zone->y;
+ zw = qp->ec->zone->w;
+ zh = qp->ec->zone->h;
for (ec = e_client_below_get(qp->ec); ec; ec = e_client_below_get(ec))
{
if (!ec->visible) continue;
+ if (!E_INTERSECTS(ec->x, ec->y, ec->w, ec->h, zx, zy, zw, zh)) continue;
return ec;
}