summaryrefslogtreecommitdiff
path: root/x11-wm/xfce4-wm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/xfce4-wm/Makefile')
-rw-r--r--x11-wm/xfce4-wm/Makefile9
1 files changed, 7 insertions, 2 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