summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fe-common/core/fe-windows.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/core/fe-windows.c b/src/fe-common/core/fe-windows.c
index 175c17ec..ed73a494 100644
--- a/src/fe-common/core/fe-windows.c
+++ b/src/fe-common/core/fe-windows.c
@@ -439,7 +439,7 @@ void window_bind_remove_unsticky(WINDOW_REC *window)
{
GSList *tmp, *next;
- for (tmp = window->bound_items; tmp != NULL; tmp = tmp->next) {
+ for (tmp = window->bound_items; tmp != NULL; tmp = next) {
WINDOW_BIND_REC *rec = tmp->data;
next = tmp->next;