From 0888b3a5de251b4e81d3fcb5d71d6b8f1d69d89c Mon Sep 17 00:00:00 2001 From: zeromus Date: Sat, 19 Dec 2009 21:58:15 +0000 Subject: [PATCH] win32: disable wacky stylus stuff for main window --- desmume/src/windows/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/desmume/src/windows/main.cpp b/desmume/src/windows/main.cpp index e06753630..500a26fb8 100644 --- a/desmume/src/windows/main.cpp +++ b/desmume/src/windows/main.cpp @@ -2330,6 +2330,10 @@ int _main() exit(-1); } + //disable wacky stylus stuff + GlobalAddAtom("MicrosoftTabletPenServiceProperty"); + SetProp(MainWindow->getHWnd(),"MicrosoftTabletPenServiceProperty",(HANDLE)1); + SetStyle(style); gpu_SetRotateScreen(video.rotation);