]> Dogcows Code - chaz/openbox/blobdiff - openbox/hooks.c
dont skip ungrab corssing events
[chaz/openbox] / openbox / hooks.c
index 35d8d694f39b8b0324a8ac15b20e429ae718e810..ba5095fb0032f82c3871c0d11878ca048bd84612 100644 (file)
@@ -111,6 +111,7 @@ static PyObject *hook_remove(HookObject *self, PyObject *args)
 
 static PyObject *hook_call(HookObject *self, PyObject *args)
 {
+    PyObject *ret;
     GSList *it, *next;
     gboolean stop = FALSE;
 
@@ -121,9 +122,9 @@ static PyObject *hook_call(HookObject *self, PyObject *args)
     }
 
     for (it = self->funcs; !stop && it != NULL;) {
-       next = it->next; /* incase the hook removes itself */
+        next = it->next; /* incase the hook removes itself */
 
-       PyObject *ret = PyObject_CallObject(it->data, args);
+       ret = PyObject_CallObject(it->data, args);
        if (ret == NULL)
            return NULL;
        if (ret != Py_None)
This page took 0.020756 seconds and 4 git commands to generate.