This commit is contained in:
Kovid Goyal 2014-02-09 19:09:34 +05:30
parent 982316dd91
commit b0de1e9633

View File

@ -192,7 +192,8 @@ class GestureHandler(QObject):
# For some reason performing certain actions like toggling the ToC
# view causes windows to stop sending WM_TOUCH events. This works
# around that bug.
# This will need to be changed for Qt 5.
# This might need to be changed for Qt 5 and effectivewinid returns
# a different kind of object.
hwnd = int(self.parent().effectiveWinId())
RegisterTouchWindow(hwnd, 0)