Open-source KVM software
Go to file
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
.github Update send log link 2017-10-11 12:29:54 +01:00
cmake #define build number as string 2017-11-27 01:18:42 +00:00
debian QtQuick isn't a required dependency 2017-05-11 21:18:29 +01:00
dist Remove last remnants of TLS 2017-11-26 21:44:26 +00:00
doc synergy.conf.example: clarify comments 2018-01-23 14:26:30 +00:00
ext Remove legacy TLS support and fix tests 2017-11-26 14:58:00 +00:00
res Remove last remnants of TLS 2017-11-26 21:44:26 +00:00
src Initialize XWindowsScreen to offscreen for secondary displays (#6249) 2018-03-09 15:27:56 +00:00
.gitignore Remove last remnants of TLS 2017-11-26 21:44:26 +00:00
Build.properties Version to v2.0.0 2017-09-14 12:29:39 +01:00
CMakeLists.txt Remove IPC 2017-12-11 22:59:02 +00:00
ChangeLog Make ready v1.9.0-rc3 2017-05-10 15:29:48 +01:00
LICENSE Remove last remnants of TLS 2017-11-26 21:44:26 +00:00
README.md Update README.md 2018-02-07 15:53:00 +00:00

README.md

Synergy Core

This is the open source core component of Synergy, a keyboard and mouse sharing tool.