summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <Sam@XPS-SUSE.site>2008-12-10 21:26:06 +0900
committerSam Spilsbury <Sam@XPS-SUSE.site>2008-12-10 21:26:06 +0900
commita6cb02717444bcdbf8dec4f24f028b426e8139c6 (patch)
tree9e90d0b9a272606cc807954319518abdb5297495
parentb900aab3ab73728ea55345a982214616fa8543de (diff)
downloadcompiz-mpx-ir-a6cb02717444bcdbf8dec4f24f028b426e8139c6.tar.gz
compiz-mpx-ir-a6cb02717444bcdbf8dec4f24f028b426e8139c6.tar.bz2
Some preliminary compiz-python work
-rw-r--r--fusion/plugins/compiz-python/0001-MPX-Work.patch47
1 files changed, 47 insertions, 0 deletions
diff --git a/fusion/plugins/compiz-python/0001-MPX-Work.patch b/fusion/plugins/compiz-python/0001-MPX-Work.patch
new file mode 100644
index 0000000..c1edf64
--- /dev/null
+++ b/fusion/plugins/compiz-python/0001-MPX-Work.patch
@@ -0,0 +1,47 @@
+From ca9e6e35058dd8d6618972f2788bce616e590301 Mon Sep 17 00:00:00 2001
+From: Sam Spilsbury <Sam@XPS-SUSE.site>
+Date: Wed, 10 Dec 2008 20:13:49 +0900
+Subject: [PATCH] MPX Work
+
+---
+ src/scale/scalescreen.c | 9 +++++----
+ 1 files changed, 5 insertions(+), 4 deletions(-)
+
+diff --git a/src/scale/scalescreen.c b/src/scale/scalescreen.c
+index 104b23b..5a3a00c 100644
+--- a/src/scale/scalescreen.c
++++ b/src/scale/scalescreen.c
+@@ -124,7 +124,7 @@ pythonScalePaintDecoration (CompWindow *window,
+ }
+
+ static void
+-pythonSelectWindow (CompWindow *window)
++pythonSelectWindow (CompWindow *window, ScaleDevice *sDev)
+ {
+ PYTHON_LOADER_SCALE_SCREEN (window->screen);
+
+@@ -247,9 +247,10 @@ ScaleScreen_scalePaintDecoration (compizScaleScreen *self, PyObject *args)
+
+ PyDoc_STRVAR (
+ ScaleScreen_selectWindow_doc,
+- "selectWindow(window)\n"
++ "selectWindow(window, scaleDevice)\n"
+ "\n"
+- ":type window: `compiz.CompWindow`\n");
++ ":type window: `compiz.CompWindow`\n"
++ ":type scaleDevice: ");
+
+ static PyObject *
+ ScaleScreen_selectWindow (compizScaleScreen *self, PyObject *args)
+@@ -260,7 +261,7 @@ ScaleScreen_selectWindow (compizScaleScreen *self, PyObject *args)
+ &compizCompWindowType, &pyWindow))
+ return NULL;
+
+- (*self->scalescreen->selectWindow) (pyWindow->window);
++ (*self->scalescreen->selectWindow) (pyWindow->window, NULL);
+
+ Py_RETURN_NONE;
+ }
+--
+1.5.6
+