CtrlCore: Pen fixes

git-svn-id: svn://ultimatepp.org/upp/trunk@15898 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2021-04-07 17:58:20 +00:00
parent 599a59d9fd
commit 0632053f89

View file

@ -3,7 +3,6 @@
#ifdef GUI_WIN
#include <winnls.h>
#include <tpcshrd.h> // for WM_TABLET_QUERYSYSTEMGESTURESTATUS and TABLET_DISABLE_PRESSANDHOLD
//#include "imm.h"
@ -86,8 +85,6 @@ LRESULT Ctrl::WindowProc(UINT message, WPARAM wParam, LPARAM lParam) {
};
switch(message) {
case WM_TABLET_QUERYSYSTEMGESTURESTATUS:
return TABLET_DISABLE_PRESSANDHOLD; // For clean press and hold behavior
case WM_POINTERDOWN:
case WM_POINTERUPDATE:
case WM_POINTERUP: {