projects
/
platform
/
core
/
uifw
/
libds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
044a321
)
tinyds: Fix server_view_at()
28/279828/1
author
Seunghun Lee
<shiin.lee@samsung.com>
Tue, 16 Aug 2022 10:16:04 +0000
(19:16 +0900)
committer
Tizen Window System
<tizen.windowsystem@gmail.com>
Thu, 18 Aug 2022 07:37:50 +0000
(16:37 +0900)
Change-Id: I522fde7fb5c82c29df22d74a524c75e6813cf839
examples/tinyds.c
patch
|
blob
|
history
diff --git
a/examples/tinyds.c
b/examples/tinyds.c
index
0c2e3f0
..
dca4bac
100644
(file)
--- a/
examples/tinyds.c
+++ b/
examples/tinyds.c
@@
-632,7
+632,7
@@
server_view_at(struct tinyds_server *server, double lx, double ly,
x = view->x;
y = view->y;
- if (lx >= x && lx <=
w && ly >= y && ly <=
h) {
+ if (lx >= x && lx <=
x + w && ly >= y && ly <= y +
h) {
if (sx)
*sx = lx - x;
if (sy)