summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <Sam@XPS-SUSE.site>2008-11-03 12:28:25 +0900
committerSam Spilsbury <Sam@XPS-SUSE.site>2008-11-03 12:28:25 +0900
commit9c9fa3ba4f4c23638abc349e3ead9cf10426e099 (patch)
treef90b29e727a7b1047e5812b62c24371c589679e1
parent47516fa7123c9ae0681b813815f0bb5fa6c1f017 (diff)
downloadcompiz-mpx-ir-9c9fa3ba4f4c23638abc349e3ead9cf10426e099.tar.gz
compiz-mpx-ir-9c9fa3ba4f4c23638abc349e3ead9cf10426e099.tar.bz2
Actually WRAP function
-rw-r--r--fusion/plugins/freewins/0002-Input-Redirection-Support.patch28
1 files changed, 25 insertions, 3 deletions
diff --git a/fusion/plugins/freewins/0002-Input-Redirection-Support.patch b/fusion/plugins/freewins/0002-Input-Redirection-Support.patch
index f55cbd9..bb55c3d 100644
--- a/fusion/plugins/freewins/0002-Input-Redirection-Support.patch
+++ b/fusion/plugins/freewins/0002-Input-Redirection-Support.patch
@@ -1,15 +1,16 @@
-From 8e49fb84555e34f2e30a01decae3936d1b9e26fd Mon Sep 17 00:00:00 2001
+From 176ff3983e2d32a2010c9ddbacd74f5f12b50fb9 Mon Sep 17 00:00:00 2001
From: Sam Spilsbury <Sam@XPS-SUSE.site>
-Date: Sun, 2 Nov 2008 09:23:07 +0900
+Date: Mon, 3 Nov 2008 12:27:38 +0900
Subject: [PATCH] Input Redirection Support
---
events.c | 52 +++++++++++++++++++++++++++++++++++++++++++---------
+ freewins.c | 3 +++
freewins.h | 10 +++++++++-
freewins.xml.in | 25 ++++++++++++++++++++-----
paint.c | 2 ++
util.c | 2 +-
- 5 files changed, 75 insertions(+), 16 deletions(-)
+ 6 files changed, 78 insertions(+), 16 deletions(-)
diff --git a/events.c b/events.c
index 16781cb..478bb7e 100644
@@ -120,6 +121,27 @@ index 16781cb..478bb7e 100644
+ (*w->screen->transformMesh) (w, &FWTransform, mesh, meshIter, project);
+ WRAP (fws, w->screen, transformMesh, FWTransformMesh);
+}
+diff --git a/freewins.c b/freewins.c
+index aeb2a21..332f7ba 100644
+--- a/freewins.c
++++ b/freewins.c
+@@ -295,6 +295,7 @@ freewinsInitScreen (CompPlugin *p,
+
+ WRAP (fws, s, windowResizeNotify, FWWindowResizeNotify);
+ WRAP (fws, s, windowMoveNotify, FWWindowMoveNotify);
++ WRAP (fws, s, transformMesh, FWTransformMesh);
+
+ return TRUE;
+ }
+@@ -319,6 +320,8 @@ freewinsFiniScreen (CompPlugin *p,
+ UNWRAP (fws, s, windowResizeNotify);
+ UNWRAP (fws, s, windowMoveNotify);
+
++ UNWRAP (fws, s, transformMesh);
++
+ free (fws);
+ }
+
diff --git a/freewins.h b/freewins.h
index 4f88496..247b79f 100644
--- a/freewins.h