projects
/
platform
/
core
/
uifw
/
dali-adaptor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81cf724
)
fix the bug when window is resized by display server
87/277687/1
author
Wonsik Jung
<sidein@samsung.com>
Tue, 12 Jul 2022 06:56:34 +0000
(15:56 +0900)
committer
Wonsik Jung
<sidein@samsung.com>
Tue, 12 Jul 2022 06:56:34 +0000
(15:56 +0900)
This patch is to fix the bug when window is resized by display server.
If window is resized, the internal window's size should be updated.
The internal window size is used to calcurate the touch coordiantes.
Change-Id: I9bf06615be9436c2854d9e16eb1721114ba28529
dali/internal/window-system/common/window-impl.cpp
patch
|
blob
|
history
diff --git
a/dali/internal/window-system/common/window-impl.cpp
b/dali/internal/window-system/common/window-impl.cpp
index
fa8c7c1
..
f298a76
100644
(file)
--- a/
dali/internal/window-system/common/window-impl.cpp
+++ b/
dali/internal/window-system/common/window-impl.cpp
@@
-884,6
+884,9
@@
void Window::OnUpdatePositionSize(Dali::PositionSize& positionSize)
{
Uint16Pair newSize(newRect.width, newRect.height);
+ mWindowWidth = newRect.width;
+ mWindowHeight = newRect.height;
+
SurfaceResized();
mAdaptor->SurfaceResizePrepare(mSurface.get(), newSize);