deskflow/src/lib/platform
Pedro Navarro 21b0f233c7
Address issues with modifiers and dead keys (#7149)
* After getting a dead key from ToUnicodeEx, add an additional VK_SPACE
to the keyboard state so we reset the dead key flag and subsequent
calls with modifiers, like shift, return the right result (-1) instead
of 1.

This happened because without reseting the dead key status
the new one was attempted to be composed with the old one, which failed
and the end result was a single unicode codepoint not marked as a dead
key.

This opens the door to potentially use the returned unicode from the
second call as the key character instead of maintaining the
getDeadKey function.

* Update ChangeLog

Co-authored-by: Pedro Navarro <pnavarro@netflix.com>
Co-authored-by: Serhii Hadzhilov <serhii-external@symless.com>
Co-authored-by: Serhii Hadzhilov <71632867+SerhiiGadzhilov@users.noreply.github.com>
2022-05-02 21:13:15 +03:00
..
CMakeLists.txt SYNERGY-1254 Fix core builds (#7103) 2021-10-21 10:25:57 +03:00
IMSWindowsClipboardFacade.h Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
IOSXKeyResource.cpp Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
IOSXKeyResource.h Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
MSWindowsClipboard.cpp SYNERGY-1050 Synergy1. Floating issue. User is not able to paste to c… (#7057) 2021-07-12 17:46:02 +03:00
MSWindowsClipboard.h Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
MSWindowsClipboardAnyTextConverter.cpp Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
MSWindowsClipboardAnyTextConverter.h Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
MSWindowsClipboardBitmapConverter.cpp Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
MSWindowsClipboardBitmapConverter.h Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
MSWindowsClipboardFacade.cpp Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
MSWindowsClipboardFacade.h Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
MSWindowsClipboardHTMLConverter.cpp Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
MSWindowsClipboardHTMLConverter.h Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
MSWindowsClipboardTextConverter.cpp Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
MSWindowsClipboardTextConverter.h Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
MSWindowsClipboardUTF16Converter.cpp Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
MSWindowsClipboardUTF16Converter.h Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
MSWindowsDebugOutputter.cpp Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
MSWindowsDebugOutputter.h Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
MSWindowsDesks.cpp Synergy 907 client tray language switcher reverts to en (#7038) 2021-10-04 18:51:12 +03:00
MSWindowsDesks.h WIP printscreen fixes for Windows 2020-01-11 01:08:00 +00:00
MSWindowsDropTarget.cpp Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
MSWindowsDropTarget.h Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
MSWindowsEventQueueBuffer.cpp #6251 Attempt to fix Windows event loop hang 2018-03-18 20:50:26 +00:00
MSWindowsEventQueueBuffer.h Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
MSWindowsHook.cpp Synergy 571 wrong characters on client for unicode (#7108) 2021-10-19 20:09:19 +03:00
MSWindowsHook.h Removed synwinhk DLL, back porting 703097c 2019-11-14 15:11:00 +00:00
MSWindowsKeyState.cpp Address issues with modifiers and dead keys (#7149) 2022-05-02 21:13:15 +03:00
MSWindowsKeyState.h Synergy 907 client tray language switcher reverts to en (#7038) 2021-10-04 18:51:12 +03:00
MSWindowsPowerManager.cpp SYNERGY-1088 Windows client ignores prevent sleeping option 2021-07-23 15:27:16 +03:00
MSWindowsPowerManager.h SYNERGY-1088 Windows client ignores prevent sleeping option 2021-07-23 15:27:16 +03:00
MSWindowsScreen.cpp SYNERGY-1454 Scroll direction refactoring (#7141) 2022-01-27 13:23:36 +02:00
MSWindowsScreen.h SYNERGY-1454 Scroll direction refactoring (#7141) 2022-01-27 13:23:36 +02:00
MSWindowsScreenSaver.cpp SYNERGY-538 - Allow Windows to go to sleep depending on system preferences (#6997) 2021-05-28 11:58:11 +03:00
MSWindowsScreenSaver.h Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
MSWindowsSession.cpp #6037 prevent object slicing in caught exception 2017-05-12 20:02:51 +01:00
MSWindowsSession.h Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
MSWindowsUtil.cpp #6037 Remove crazy LoadString wrapper 2017-05-12 01:41:17 +01:00
MSWindowsUtil.h Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
MSWindowsWatchdog.cpp SYNERGY3-17 Stop on login screen (#7143) 2022-02-11 11:28:39 +02:00
MSWindowsWatchdog.h SYNERGY3-17 Stop on login screen (#7143) 2022-02-11 11:28:39 +02:00
OSXClipboard.cpp Fixed #6839 Wrong text encoding in iMessage (#6927) 2021-01-27 21:38:52 +02:00
OSXClipboard.h Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
OSXClipboardAnyBitmapConverter.cpp Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
OSXClipboardAnyBitmapConverter.h Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
OSXClipboardAnyTextConverter.cpp Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
OSXClipboardAnyTextConverter.h Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
OSXClipboardBMPConverter.cpp Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
OSXClipboardBMPConverter.h Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
OSXClipboardHTMLConverter.cpp SYNERGY-928 Wrong encoding form macOS 2021-06-09 16:13:23 +03:00
OSXClipboardHTMLConverter.h Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
OSXClipboardTextConverter.cpp Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
OSXClipboardTextConverter.h Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
OSXClipboardUTF8Converter.cpp Fixed #6839 Wrong text encoding in iMessage (#6927) 2021-01-27 21:38:52 +02:00
OSXClipboardUTF8Converter.h Fixed #6839 Wrong text encoding in iMessage (#6927) 2021-01-27 21:38:52 +02:00
OSXClipboardUTF16Converter.cpp Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
OSXClipboardUTF16Converter.h Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
OSXDragSimulator.h Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
OSXDragSimulator.m Update company copyright notice 2016-09-26 11:58:33 +01:00
OSXDragView.h Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
OSXDragView.m Update company copyright notice 2016-09-26 11:58:33 +01:00
OSXEventQueueBuffer.cpp Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
OSXEventQueueBuffer.h Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
OSXKeyState.cpp SYNERGY-1397 MacOS function keys (#7135) 2022-01-13 18:58:29 +02:00
OSXKeyState.h SYNERGY-1397 MacOS function keys (#7135) 2022-01-13 18:58:29 +02:00
OSXMediaKeySupport.h Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
OSXMediaKeySupport.m #3305 Rename macOS MediaKeySimulator to MediaKeySupport 2016-09-26 11:58:33 +01:00
OSXPasteboardPeeker.h Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
OSXPasteboardPeeker.m Update company copyright notice 2016-09-26 11:58:33 +01:00
OSXPowerManager.cpp SYNERGY-1088 MacOS client ignores prevent sleeping option 2021-07-23 14:48:29 +03:00
OSXPowerManager.h SYNERGY-1088 MacOS client ignores prevent sleeping option 2021-07-23 14:48:29 +03:00
OSXScreen.h SYNERGY-1454 Scroll direction refactoring (#7141) 2022-01-27 13:23:36 +02:00
OSXScreen.mm SYNERGY-1454 Scroll direction refactoring (#7141) 2022-01-27 13:23:36 +02:00
OSXScreenSaver.cpp Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
OSXScreenSaver.h Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
OSXScreenSaverControl.h Update company copyright notice 2016-09-26 11:58:33 +01:00
OSXScreenSaverUtil.h Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
OSXScreenSaverUtil.m Modified header of every file COPYING to LICENSE 2015-05-06 22:12:44 -04:00
OSXUchrKeyResource.cpp Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
OSXUchrKeyResource.h Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
synwinhk.h Removed synwinhk DLL, back porting 703097c 2019-11-14 15:11:00 +00:00
XWindowsClipboard.cpp Pasting text copied from Linux results in doubled lines (#7144) 2022-04-28 17:59:58 +03:00
XWindowsClipboard.h SYNERGY 512 SonarCloud vulnerabilities in Synergy-Core (#6971) 2021-04-06 13:02:25 +03:00
XWindowsClipboardAnyBitmapConverter.cpp Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
XWindowsClipboardAnyBitmapConverter.h Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
XWindowsClipboardBMPConverter.cpp Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
XWindowsClipboardBMPConverter.h Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
XWindowsClipboardHTMLConverter.cpp SYNERGY-928 Wrong encoding for text copied between linux and windows 2021-06-04 15:51:49 +03:00
XWindowsClipboardHTMLConverter.h Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
XWindowsClipboardTextConverter.cpp Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
XWindowsClipboardTextConverter.h Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
XWindowsClipboardUCS2Converter.cpp Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
XWindowsClipboardUCS2Converter.h Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
XWindowsClipboardUTF8Converter.cpp Pasting text copied from Linux results in doubled lines (#7144) 2022-04-28 17:59:58 +03:00
XWindowsClipboardUTF8Converter.h Pasting text copied from Linux results in doubled lines (#7144) 2022-04-28 17:59:58 +03:00
XWindowsEventQueueBuffer.cpp #6487 XWindowsEventQueueBuffer: Fix delays when waiting for new events 2020-05-22 14:41:42 +01:00
XWindowsEventQueueBuffer.h as per Sonar recommendations 2020-11-03 17:52:56 +07:00
XWindowsKeyState.cpp Synergy 907 client tray language switcher reverts to en (#7038) 2021-10-04 18:51:12 +03:00
XWindowsKeyState.h Synergy 907 client tray language switcher reverts to en (#7038) 2021-10-04 18:51:12 +03:00
XWindowsPowerManager.cpp SYNERGY-1088 Fix code smells 2021-07-23 19:08:26 +03:00
XWindowsPowerManager.h SYNERGY-1088 Fix code smells 2021-07-23 19:08:26 +03:00
XWindowsScreen.cpp SYNERGY-1454 Scroll direction refactoring (#7141) 2022-01-27 13:23:36 +02:00
XWindowsScreen.h SYNERGY-1454 Scroll direction refactoring (#7141) 2022-01-27 13:23:36 +02:00
XWindowsScreenSaver.cpp Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
XWindowsScreenSaver.h as per Sonar recommendations 2020-11-03 17:52:56 +07:00
XWindowsUtil.cpp #6528 Also display error text as well as error code when logging an X11 error 2019-07-02 13:55:43 +01:00
XWindowsUtil.h as per Sonar recommendations 2020-11-03 17:52:56 +07:00