Commit Graph

3204 Commits

Author SHA1 Message Date
Andrew Nelless b70b8e0fc4
Merge pull request #6276 from symless/issue6267-linux-switch
#6267 Stop detecting mouse movement for local input
2018-03-19 11:25:17 +00:00
Andrew Nelless 47137952f4 Revert "#4288 Remove auto Alt+Printscreen on Windows"
This reverts commit 3d3b7ca881.
2018-03-15 11:27:26 +00:00
Andrew Nelless cd403562cd
Merge pull request #6268 from erikd/topic/fixes
Minor fixes reported by AddressSanitizer
2018-03-14 13:36:29 +00:00
Andrew Nelless 2204828746 Make macOS screen shape detection code more robust 2018-03-14 13:35:42 +00:00
Erik de Castro Lopo d2f6e56e53 Fix a memory leak 2018-03-12 10:41:31 +11:00
Erik de Castro Lopo a0616a54be Update .gitignore
Ignore generated cmake files and directories.
2018-03-12 10:41:31 +11:00
Erik de Castro Lopo d2a331c376 Fix compile error 2018-03-12 10:41:31 +11:00
Erik de Castro Lopo cbd742ebb5 Fix -Wreorder warnings 2018-03-11 14:00:08 +11:00
Danielle Church ffb0a5e1ed Initialize XWindowsScreen to offscreen for secondary displays (#6249)
XWindowsScreen::m_isOnScreen currently initializes to true for all
screens, meaning that every screen assumes it currently has control of
the shared mouse pointer when it starts up. For the primary (server)
screen, this is appropriate; when synergy starts, the local mouse should
still move the cursor on the local screen.

However, for secondary screens, this is incorrect; when the client
connects, it does _not_ have control of the shared mouse pointer, as the
server's mouse still moves the server's cursor.

This doesn't make much difference in most cases, as the secondary screen
behaves almost identically whether m_isOnScreen is true or false;
however, the local input detection code will only fire if the variable
is false, meaning that once the client connects, it first has to gain
the cursor and then lose it before it will detect local input.

Since the Synergy 2.0 service relies on synergy-core's local input
detection to determine when to switch to server mode, this means that a
Linux desktop can only ever claim primary if the shared cursor has at
some point moved to that screen, then left it.

This fixes the bug so that local input on a Linux desktop can reclaim
the primary role immediately after losing it.

Fixes #6248.
2018-03-09 15:27:56 +00:00
Jerry (Xinyu Hou) ec3e0b2f71 #6267 Stop detecting mouse movement for local input 2018-03-08 16:40:23 +00:00
Jerry (Xinyu Hou) ea5be67b27 #6266 Tweek log level for debugging display reconfiguration on Mac 2018-03-08 16:35:03 +00:00
Steve Williams 0f2c7099c5 Merge branch 'waldyrious-patch-1' into pr_cleanup_mar18_2 2018-03-05 13:44:37 +00:00
Steve Williams 3982e74d30 issue5648 - reapply int to float changes 2018-03-05 13:43:47 +00:00
Steve Williams 2006af9143 Merge branch 'patch-1' of https://github.com/waldyrious/synergy-core into waldyrious-patch-1 2018-03-05 11:50:32 +00:00
Andrew Nelless cbfa585fa7
Merge pull request #6261 from rombert/feature/fix-romanian
Add support for latin 's' and 't' with comma below
2018-03-03 01:59:30 +00:00
Robert Munteanu dfb8d15010 Add support for latin 's' and 't' with comma below
These codes were not supported at all, presumably due to being introduced
only in Unicode 3.0.
2018-02-24 23:13:43 +02:00
Nick Bolton 426e81fa71
Update README.md 2018-02-07 15:53:00 +00:00
Waldir Pimenta 3d440547ee
synergy.conf.example: clarify comments
instead of saying apparently absolute statements
like "Foo is to the right of Bar",
use relative phrasing "for Bar, Foo is to the right".
This makes it clearer that the configuration file
does not describe a globally consistent spatial arrangement
but rather a set of areas that can be linked in arbitrary ways.
2018-01-23 14:26:30 +00:00
Andrew Nelless 35602ed6bf #6234 Change protocol error message 2017-12-20 15:02:26 +00:00
Andrew Nelless 703097c19b Remove synwinhk DLL 2017-12-13 18:28:48 +00:00
Xinyu Hou a48ff8bcb5 Merge branch 'mac-input-detection' 2017-12-13 12:26:11 -05:00
Xinyu Hou 6368207dec Release quartz event tap in screen Dtor 2017-12-13 11:47:26 -05:00
Andrew Nelless 0e11b8777f Remove scary memcpy hack 2017-12-13 16:18:22 +00:00
Andrew Nelless 1fb01f6833 Remove Windows 2000 only mouse wheel support 2017-12-13 16:00:37 +00:00
Xinyu Hou d770160e00 Add log for releasing quartz event tap 2017-12-13 10:59:41 -05:00
Andrew Nelless 2d56cc1c92 Remove NT 3.51 and Win9x mouse wheel support... 2017-12-13 15:27:48 +00:00
Andrew Nelless db1770df39 Remove support for "high-level" mouse and keyboard hooks 2017-12-13 15:16:51 +00:00
Xinyu Hou adcb1b9b1f Log for creating quartz event tap 2017-12-13 10:13:39 -05:00
Xinyu Hou 4dc9f893c3 Quit when failed to create quartz event tap 2017-12-13 09:42:41 -05:00
Xinyu Hou d5872caa7e Merge branch 'mac-bundle' 2017-12-12 11:42:48 -05:00
Andrew Nelless 5ff0637a82 Remove IPC 2017-12-11 22:59:02 +00:00
Xinyu Hou 9da6974ada Install synergy core into resource folder on Mac 2017-12-11 10:28:54 -05:00
Andrew Nelless 607201d586
#6211 Abort if the carbon loop doesn't become ready within timeout 2017-12-05 15:44:10 +00:00
Xinyu Hou eb8416b27f Fix Mac debug build 2017-12-04 10:48:34 -05:00
Jerry (Xinyu Hou) 3e7d9fca40 Fix unused variables 2017-11-27 14:20:31 +00:00
Andrew Nelless af5c3c2917 #define build number as string 2017-11-27 01:18:42 +00:00
Andrew Nelless 4fc45c2e56
Attempt to fix Windows KeyState test build 2017-11-26 22:40:47 +00:00
Andrew Nelless 71ed35681e
Fix log outputter build on Windows 2017-11-26 22:11:41 +00:00
Andrew Nelless e21c41ba99 Remove last remnants of TLS 2017-11-26 21:44:26 +00:00
Andrew Nelless 75b2cd0b41 Apply clang-tidy fixes 2017-11-26 16:42:00 +00:00
Andrew Nelless 5fbada9424 Add support for clang-tidy checks 2017-11-26 16:36:47 +00:00
Andrew Nelless 4b3adfce94 Remove legacy TLS support and fix tests 2017-11-26 14:58:00 +00:00
Andrew Nelless 764a6d3803
Create README.md 2017-11-26 14:15:32 +00:00
Andrew Nelless 0bd448d5ca Reduce clipboard chunk size to 32KiB 2017-10-31 13:28:36 +00:00
Jerry (Xinyu Hou) 8d440e68ec Update send log link 2017-10-11 12:29:54 +01:00
Nick Bolton 36f4003688 Merge branch 'master' of github.com:symless/synergy-core 2017-10-04 10:33:27 +01:00
Nick Bolton 39fe216b8c #6151 Remove synergy2 Linux shortcut 2017-10-04 10:33:05 +01:00
Nick Bolton ad8a911590 #6162 Make --run-as-uid Linux specific 2017-10-02 22:42:56 +01:00
Nick Bolton b028e88fed #6162 Add UID arg so service can change process user 2017-10-02 18:20:47 +01:00
Xinyu Hou 23464a38a7 #6161 Install hook before connection established 2017-09-29 12:54:30 -04:00