Fixes to previous checkpoint. Non-ascii keys seem to work correctly.

Still not supporting key composition on X11.
This commit is contained in:
crs 2003-04-27 18:05:32 +00:00
parent 11f90022e0
commit 42ea6306f6
4 changed files with 10 additions and 1 deletions

View File

@ -120,7 +120,6 @@ CMSWindowsSecondaryScreen::keyRepeat(KeyID key,
// if we've seen this button (and we should have) then make sure // if we've seen this button (and we should have) then make sure
// we release the same key we pressed when we saw it. // we release the same key we pressed when we saw it.
ServerKeyMap::iterator index = m_serverKeyMap.find(button);
if (index != m_serverKeyMap.end() && virtualKey != index->second) { if (index != m_serverKeyMap.end() && virtualKey != index->second) {
// replace key up with previous keycode but leave key down // replace key up with previous keycode but leave key down
// alone so it uses the new keycode and store that keycode // alone so it uses the new keycode and store that keycode

View File

@ -25,6 +25,7 @@
#include "IMSWindowsScreenEventHandler.h" #include "IMSWindowsScreenEventHandler.h"
#include "CMutex.h" #include "CMutex.h"
#include "CString.h" #include "CString.h"
#include "stdmap.h"
#include "stdvector.h" #include "stdvector.h"
class CMSWindowsScreen; class CMSWindowsScreen;

View File

@ -34,6 +34,7 @@ libserver_a_SOURCES = \
CServer.cpp \ CServer.cpp \
CClientProxy.h \ CClientProxy.h \
CClientProxy1_0.h \ CClientProxy1_0.h \
CClientProxy1_1.h \
CConfig.h \ CConfig.h \
CHTTPServer.h \ CHTTPServer.h \
CPrimaryClient.h \ CPrimaryClient.h \

View File

@ -95,6 +95,10 @@ SOURCE=.\CClientProxy1_0.cpp
# End Source File # End Source File
# Begin Source File # Begin Source File
SOURCE=.\CClientProxy1_1.cpp
# End Source File
# Begin Source File
SOURCE=.\CConfig.cpp SOURCE=.\CConfig.cpp
# End Source File # End Source File
# Begin Source File # Begin Source File
@ -123,6 +127,10 @@ SOURCE=.\CClientProxy1_0.h
# End Source File # End Source File
# Begin Source File # Begin Source File
SOURCE=.\CClientProxy1_1.h
# End Source File
# Begin Source File
SOURCE=.\CConfig.h SOURCE=.\CConfig.h
# End Source File # End Source File
# Begin Source File # Begin Source File