diff options
author | Oliver Lehmann <oliver@FreeBSD.org> | 2007-06-19 04:53:44 +0000 |
---|---|---|
committer | Oliver Lehmann <oliver@FreeBSD.org> | 2007-06-19 04:53:44 +0000 |
commit | 0a9efdebd9cbd774acc4ec7f3fa1db46455969b7 (patch) | |
tree | 01cddb14054e146ef8d25f07bb87306d222bc399 /x11-wm/xfce4-wm | |
parent | 9fdd5612795b4f11f4b346e7d92811b3b71628bd (diff) |
Notes
Diffstat (limited to 'x11-wm/xfce4-wm')
-rw-r--r-- | x11-wm/xfce4-wm/Makefile | 9 | ||||
-rw-r--r-- | x11-wm/xfce4-wm/files/extrapatch-src__events.c | 16 | ||||
-rw-r--r-- | x11-wm/xfce4-wm/pkg-plist | 1 |
3 files changed, 23 insertions, 3 deletions
diff --git a/x11-wm/xfce4-wm/Makefile b/x11-wm/xfce4-wm/Makefile index d1d3b482d546..9a867af23636 100644 --- a/x11-wm/xfce4-wm/Makefile +++ b/x11-wm/xfce4-wm/Makefile @@ -18,7 +18,7 @@ COMMENT= XFce 4 window manager CONFIGURE_ARGS= --enable-xinerama GNU_CONFIGURE= yes -INSTALLS_ICONS= yes +INSTALLS_ICONS= yes USE_BZIP2= yes USE_GETTEXT= yes USE_GMAKE= yes @@ -29,7 +29,8 @@ USE_XFCE= configenv libmcs libutil libgui mcsmanager panel USE_XLIB= yes OPTIONS= COMPOSITE "Support the experimental X11 Composite extension" on \ - STARTUP "Enable startup notification support" on + STARTUP "Enable startup notification support" on \ + REVMOUSE "Reverse mouse workspace changing direction" off .include <bsd.port.pre.mk> @@ -46,6 +47,10 @@ CONFIGURE_ARGS+=--enable-startup-notification CONFIGURE_ARGS+=--disable-startup-notification .endif +.if defined(WITH_REVMOUSE) +EXTRA_PATCHES= ${FILESDIR}/extrapatch-src__events.c +.endif + post-patch: @${REINPLACE_CMD} -e 's|\(#define ShapeInput 2\);|\1|' \ ${WRKSRC}/src/frame.c diff --git a/x11-wm/xfce4-wm/files/extrapatch-src__events.c b/x11-wm/xfce4-wm/files/extrapatch-src__events.c new file mode 100644 index 000000000000..af5798ac41e4 --- /dev/null +++ b/x11-wm/xfce4-wm/files/extrapatch-src__events.c @@ -0,0 +1,16 @@ +--- src/events.c.orig Mon Apr 2 21:48:20 2007 ++++ src/events.c Tue Jun 19 06:49:58 2007 +@@ -860,11 +860,11 @@ + + if (ev->button == Button4) + { +- workspaceSwitch (screen_info, screen_info->current_ws - 1, NULL, TRUE, ev->time); ++ workspaceSwitch (screen_info, screen_info->current_ws + 1, NULL, TRUE, ev->time); + } + else if (ev->button == Button5) + { +- workspaceSwitch (screen_info, screen_info->current_ws + 1, NULL, TRUE, ev->time); ++ workspaceSwitch (screen_info, screen_info->current_ws - 1, NULL, TRUE, ev->time); + } + } + diff --git a/x11-wm/xfce4-wm/pkg-plist b/x11-wm/xfce4-wm/pkg-plist index b73db72bf02c..d53111852df4 100644 --- a/x11-wm/xfce4-wm/pkg-plist +++ b/x11-wm/xfce4-wm/pkg-plist @@ -1320,4 +1320,3 @@ share/xfwm4/defaults @dirrmtry share/icons/hicolor/scalable/apps @dirrmtry share/icons/hicolor/scalable @dirrmtry share/themes - |