summaryrefslogtreecommitdiff
path: root/wm/uwm/patches/patch-RubberBand.c
diff options
context:
space:
mode:
Diffstat (limited to 'wm/uwm/patches/patch-RubberBand.c')
-rw-r--r--wm/uwm/patches/patch-RubberBand.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/wm/uwm/patches/patch-RubberBand.c b/wm/uwm/patches/patch-RubberBand.c
new file mode 100644
index 00000000000..70561b1a9e8
--- /dev/null
+++ b/wm/uwm/patches/patch-RubberBand.c
@@ -0,0 +1,18 @@
+$NetBSD: patch-RubberBand.c,v 1.1 2013/01/11 23:36:16 joerg Exp $
+
+--- RubberBand.c.orig 2013-01-11 14:54:30.000000000 +0000
++++ RubberBand.c
+@@ -50,12 +50,7 @@
+ #define BW PBorderWidth /* pop-up window border width */
+ #define IBW PPadding /* internal border width for pop-up */
+
+-AskUser(dpy, scr, window, x, y, width, height, hints)
+- Display *dpy;
+- int scr;
+- Window window;
+- int *x, *y, *width, *height;
+- XSizeHints *hints;
++void AskUser(Display *dpy, int scr, Window window, int *x, int *y, int *width, int *height, XSizeHints *hints)
+ {
+ /* XFontStruct *pfont; */
+ #define pfont PFontInfo /* text font for pop-up */