aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/tinywm
diff options
context:
space:
mode:
authorFlorent Thoumie <flz@FreeBSD.org>2005-09-23 09:40:35 +0000
committerFlorent Thoumie <flz@FreeBSD.org>2005-09-23 09:40:35 +0000
commitb3c767338e22eefb318ec87524a7696cc695baa6 (patch)
tree2fa59eb238a28e2378e006f0bbccf58db934d182 /x11-wm/tinywm
parenta627d996846e4e98418ed0903d6322fbd20c512d (diff)
downloadports-b3c767338e22eefb318ec87524a7696cc695baa6.tar.gz
ports-b3c767338e22eefb318ec87524a7696cc695baa6.zip
Notes
Diffstat (limited to 'x11-wm/tinywm')
-rw-r--r--x11-wm/tinywm/files/patch-Makefile17
-rw-r--r--x11-wm/tinywm/files/patch-tinywm.c44
2 files changed, 0 insertions, 61 deletions
diff --git a/x11-wm/tinywm/files/patch-Makefile b/x11-wm/tinywm/files/patch-Makefile
deleted file mode 100644
index 013c653deda7..000000000000
--- a/x11-wm/tinywm/files/patch-Makefile
+++ /dev/null
@@ -1,17 +0,0 @@
-
-$FreeBSD$
-
---- Makefile.orig
-+++ Makefile
-@@ -1,8 +1,8 @@
--X11=/usr/X11R6
--CCOPTS=-Os -pedantic -Wall -std=gnu99
-+PREFIX?=/usr/X11R6
-+CFLAGS?=-Os -pedantic -Wall
-
- all:
-- $(CC) $(CCOPTS) -I$(X11)/include -L$(X11)/lib -lX11 -o tinywm tinywm.c
-+ $(CC) $(CFLAGS) -I$(PREFIX)/include -L$(PREFIX)/lib -lX11 -o tinywm tinywm.c
-
- clean:
- rm -f tinywm
diff --git a/x11-wm/tinywm/files/patch-tinywm.c b/x11-wm/tinywm/files/patch-tinywm.c
deleted file mode 100644
index 9c01ec1ac0cc..000000000000
--- a/x11-wm/tinywm/files/patch-tinywm.c
+++ /dev/null
@@ -1,44 +0,0 @@
-
-$FreeBSD$
-
---- tinywm.c.orig
-+++ tinywm.c
-@@ -12,12 +12,15 @@
-
- int main()
- {
-+ int xdiff, ydiff;
- Display * dpy = XOpenDisplay(0);
-+ XWindowAttributes attr;
-+ XButtonEvent start;
-+ XEvent ev;
-+ Window root = DefaultRootWindow(dpy);
-
- if(!dpy) return 1;
-
-- Window root = DefaultRootWindow(dpy);
--
- XGrabKey(dpy, XKeysymToKeycode(dpy, XStringToKeysym("F1")), Mod1Mask, root,
- True, GrabModeAsync, GrabModeAsync);
- XGrabButton(dpy, 1, Mod1Mask, root, True, ButtonPressMask, GrabModeAsync,
-@@ -25,9 +28,6 @@
- XGrabButton(dpy, 3, Mod1Mask, root, True, ButtonPressMask, GrabModeAsync,
- GrabModeAsync, None, None);
-
-- XWindowAttributes attr;
-- XButtonEvent start;
-- XEvent ev;
- for(;;)
- {
- XNextEvent(dpy, &ev);
-@@ -44,8 +44,8 @@
- else if(ev.type == MotionNotify)
- {
- while(XCheckTypedEvent(dpy, MotionNotify, &ev));
-- int xdiff = ev.xbutton.x_root - start.x_root;
-- int ydiff = ev.xbutton.y_root - start.y_root;
-+ xdiff = ev.xbutton.x_root - start.x_root;
-+ ydiff = ev.xbutton.y_root - start.y_root;
- XMoveResizeWindow(dpy, ev.xmotion.window,
- attr.x + (start.button==1 ? xdiff : 0),
- attr.y + (start.button==1 ? ydiff : 0),