From fa0b5d6e3573af379980a70162640635d27739c5 Mon Sep 17 00:00:00 2001 From: Adam Goode Date: Jul 20 2010 19:09:51 +0000 Subject: - Increase number of mouse buttons (#548534) --- diff --git a/fvwm-2.5.30-more-mouse-buttons.patch b/fvwm-2.5.30-more-mouse-buttons.patch new file mode 100644 index 0000000..961118a --- /dev/null +++ b/fvwm-2.5.30-more-mouse-buttons.patch @@ -0,0 +1,12 @@ +diff -ur fvwm-2.5.30~/libs/defaults.h fvwm-2.5.30/libs/defaults.h +--- fvwm-2.5.30~/libs/defaults.h 2009-08-02 10:58:46.000000000 -0400 ++++ fvwm-2.5.30/libs/defaults.h 2010-07-12 15:22:18.964353164 -0400 +@@ -25,7 +25,7 @@ + /* The "extended" buttons do not provide the full functionality because X has + * no bit mask value for them. Things like dragging windows don't work with + * them. */ +-#define NUMBER_OF_EXTENDED_MOUSE_BUTTONS 9 ++#define NUMBER_OF_EXTENDED_MOUSE_BUTTONS 15 + #if NUMBER_OF_EXTENDED_MOUSE_BUTTONS > 31 + #error No more than 31 mouse buttons can be supported on 32 bit platforms + #endif diff --git a/fvwm.spec b/fvwm.spec index 60dba2b..d2a425d 100644 --- a/fvwm.spec +++ b/fvwm.spec @@ -1,6 +1,6 @@ Name: fvwm Version: 2.5.30 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Highly configurable multiple virtual desktop window manager Group: User Interface/X @@ -14,6 +14,7 @@ Source2: http://www.cl.cam.ac.uk/~pz215/fvwm-scripts/scripts/fvwm-xdg-menu.py Patch0: fvwm-2.5.30-xdg-open.patch Patch1: fvwm-2.5.30-mimeopen.patch Patch2: fvwm-2.5.21-menu-generate.patch +Patch3: fvwm-2.5.30-more-mouse-buttons.patch BuildRequires: gettext libX11-devel libXt-devel libXext-devel libXinerama-devel libXpm-devel BuildRequires: libXft-devel libXrender-devel @@ -45,6 +46,7 @@ and implement a virtual desktop. %patch0 -p1 -b .xdg-open %patch1 -p1 -b .mimeopen %patch2 -p1 -b .menu-generate +%patch3 -p1 -b .more-mouse-buttons # Filter out false Perl provides cat << \EOF > %{name}-prov @@ -108,6 +110,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Jul 12 2010 Adam Goode - 2.5.30-2 +- Increase number of mouse buttons (#548534) + * Sun Jul 11 2010 Adam Goode - 2.5.30-1 - New upstream release, many changes, see http://www.fvwm.org/news/