Hello community, here is the log from the commit of package lxinput for openSUSE:Factory checked in at 2015-05-11 19:38:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lxinput (Old) and /work/SRC/openSUSE:Factory/.lxinput.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lxinput" Changes: -------- --- /work/SRC/openSUSE:Factory/lxinput/lxinput.changes 2014-10-24 10:48:18.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.lxinput.new/lxinput.changes 2015-05-11 19:49:04.000000000 +0200 @@ -1,0 +2,5 @@ +Tue May 5 21:28:58 UTC 2015 - [email protected] + +- added lxinput-0.3.4-Apply-left-handed-mouse-setting-in-autostart-file.patch + +------------------------------------------------------------------- New: ---- lxinput-0.3.4-Apply-left-handed-mouse-setting-in-autostart-file.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lxinput.spec ++++++ --- /var/tmp/diff_new_pack.AqTg8V/_old 2015-05-11 19:49:04.000000000 +0200 +++ /var/tmp/diff_new_pack.AqTg8V/_new 2015-05-11 19:49:04.000000000 +0200 @@ -24,6 +24,7 @@ Group: System/GUI/LXDE Url: http://www.lxde.org/ Source0: %{name}-%{version}.tar.xz +Patch0: lxinput-0.3.4-Apply-left-handed-mouse-setting-in-autostart-file.patch BuildRequires: fdupes BuildRequires: gcc BuildRequires: gcc-c++ @@ -45,6 +46,7 @@ %prep %setup -q +%patch0 -p1 %build %configure ++++++ lxinput-0.3.4-Apply-left-handed-mouse-setting-in-autostart-file.patch ++++++ >From 38ea72e33fa3be77999367237fa7be8d3b7cf85b Mon Sep 17 00:00:00 2001 From: Andriy Grytsenko <[email protected]> Date: Tue, 5 May 2015 12:35:26 +0300 Subject: [PATCH] Fix: apply left handed mouse setting in autostart file. If it does not set then the setting is applied only for current session. See also https://bugs.launchpad.net/ubuntu/+source/lxinput/+bug/1426766 --- src/lxinput.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lxinput.c b/src/lxinput.c index e6936dc..950c004 100644 --- a/src/lxinput.c +++ b/src/lxinput.c @@ -349,13 +349,14 @@ int main(int argc, char** argv) "Name=%s\n" "Comment=%s\n" "NoDisplay=true\n" - "Exec=sh -c 'xset m %d/10 %d r rate %d %d b %s'\n" + "Exec=sh -c 'xset m %d/10 %d r rate %d %d b %s%s'\n" "NotShowIn=GNOME;KDE;XFCE;\n", _("LXInput autostart"), _("Setup keyboard and mouse using settings done in LXInput"), /* FIXME: how to setup left-handed mouse? */ accel, threshold, delay, interval, - beep ? "on" : "off"); + beep ? "on" : "off", + left_handed ? ";xmodmap -e \"pointer = 3 2 1\"" : ""); g_file_set_contents(user_config_file, str, -1, NULL); g_free(str); } -- 2.1.3
