Hello community, here is the log from the commit of package synergy for openSUSE:Factory checked in at 2017-02-08 11:04:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/synergy (Old) and /work/SRC/openSUSE:Factory/.synergy.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "synergy" Changes: -------- --- /work/SRC/openSUSE:Factory/synergy/synergy.changes 2017-02-03 20:02:43.054545005 +0100 +++ /work/SRC/openSUSE:Factory/.synergy.new/synergy.changes 2017-02-08 11:04:54.354745758 +0100 @@ -1,0 +2,6 @@ +Mon Feb 6 12:15:54 UTC 2017 - martin.wilck@suse.com + +* Fix screen size calculation with XRandR enabled (boo#1023635) + - Added 0001-XRandR-fix-screen-size-calculation.patch + +------------------------------------------------------------------- New: ---- 0001-XRandR-fix-screen-size-calculation.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ synergy.spec ++++++ --- /var/tmp/diff_new_pack.OzoMFy/_old 2017-02-08 11:04:55.286615838 +0100 +++ /var/tmp/diff_new_pack.OzoMFy/_new 2017-02-08 11:04:55.290615281 +0100 @@ -32,6 +32,7 @@ # patches from Gentoo (taken from Mageia) Patch11: synergy-1.5.0-pthread.patch Patch14: synergy-1.5.0-disable-version-check.patch +Patch20: 0001-XRandR-fix-screen-size-calculation.patch BuildRequires: avahi-devel BuildRequires: cmake BuildRequires: curl-devel @@ -81,6 +82,7 @@ %setup -q -n %{name}-%{version}-stable %patch11 -p1 %patch14 -p1 +%patch20 -p1 cp %{SOURCE2} . # extract bundled gtest and gmock to enable building tests ++++++ 0001-XRandR-fix-screen-size-calculation.patch ++++++
From 2d682bec060ac6454509e20cba1a14758dca5006 Mon Sep 17 00:00:00 2001 From: Martin Wilck
Date: Mon, 6 Feb 2017 12:37:43 +0100 Subject: [PATCH] XRandR: fix screen size calculation References: boo#1023635
XWindowsScreen::saveShape() using XRRSizes / XRRRotations to
calculate screen dimensions when XRandR and a rotated screen
was detected. This is wrong. The screen dimensions in the
display properties already reflect rotation.
Moreover, on servers supporting XRandR >= 1.2, the XRRSizes()
and XRRRotations calls from XRandR 1.1 will return the
properties of the "primary output" in XRandR 1.2 terms rather than
the properties of the entire screen.
Upstream: https://github.com/symless/synergy/pull/5832
Signed-off-by: Martin Wilck