aboutsummaryrefslogtreecommitdiffstats
path: root/x11/keynav
diff options
context:
space:
mode:
authorwxs <wxs@FreeBSD.org>2010-05-31 05:46:08 +0800
committerwxs <wxs@FreeBSD.org>2010-05-31 05:46:08 +0800
commit3ff3d100baffb7c37dee9fd71d8c896e5ffc4432 (patch)
treeb084d3657f18447a3f13c0ee136c0d2155794cb4 /x11/keynav
parentaccb30f793782aa292e901a2cbb4b303a5757eb5 (diff)
downloadfreebsd-ports-graphics-3ff3d100baffb7c37dee9fd71d8c896e5ffc4432.tar.gz
freebsd-ports-graphics-3ff3d100baffb7c37dee9fd71d8c896e5ffc4432.tar.zst
freebsd-ports-graphics-3ff3d100baffb7c37dee9fd71d8c896e5ffc4432.zip
Fix build with new xdo library while waiting on a new release from upstream.
Diffstat (limited to 'x11/keynav')
-rw-r--r--x11/keynav/files/patch-keynav.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/x11/keynav/files/patch-keynav.c b/x11/keynav/files/patch-keynav.c
new file mode 100644
index 00000000000..f372590570f
--- /dev/null
+++ b/x11/keynav/files/patch-keynav.c
@@ -0,0 +1,19 @@
+--- ./keynav.c.orig 2010-05-30 11:20:37.002333962 -0400
++++ ./keynav.c 2010-05-30 11:20:57.051721006 -0400
+@@ -881,14 +881,14 @@
+ xdo_mouseup(xdo, CURRENTWINDOW, button);
+ } else { /* Start dragging */
+ appstate.dragging = True;
+- xdo_keysequence_down(xdo, 0, drag_modkeys);
++ xdo_keysequence_down(xdo, 0, drag_modkeys, 0);
+ xdo_mousedown(xdo, CURRENTWINDOW, button);
+
+ /* Sometimes we need to move a little to tell the app we're dragging */
+ /* TODO(sissel): Make this a 'mousewiggle' command */
+ xdo_mousemove_relative(xdo, 1, 0);
+ xdo_mousemove_relative(xdo, -1, 0);
+- xdo_keysequence_up(xdo, 0, drag_modkeys);
++ xdo_keysequence_up(xdo, 0, drag_modkeys, 0);
+ }
+ }
+