e0468b06f
김태훈
patch for rotatin...
|
1
2
3
4
5
6
7
8
9
|
diff -Naur a/src/platformsupport/input/tslib/qtslib.cpp b/src/platformsupport/input/tslib/qtslib.cpp
--- a/src/platformsupport/input/tslib/qtslib.cpp 2017-03-09 13:56:15.106194306 +0900
+++ b/src/platformsupport/input/tslib/qtslib.cpp 2017-03-09 13:55:49.937693339 +0900
@@ -121,12 +121,16 @@
if (dx*dx <= 4 && dy*dy <= 4 && pressed == m_pressed)
continue;
}
- QPoint pos(x, y);
+
|
e0468b06f
김태훈
patch for rotatin...
|
11
12
13
14
15
16
17
18
19
20
21
22
23
|
+ int yn = x;
+
+ QPoint pos(xn, yn);
QWindowSystemInterface::handleMouseEvent(0, pos, pos, pressed ? Qt::LeftButton : Qt::NoButton);
- m_x = x;
- m_y = y;
+ m_x = xn;
+ m_y = yn;
m_pressed = pressed;
}
}
|