summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@gnu.org>2002-05-07 17:23:31 +0000
committerAnders Carlsson <andersca@src.gnome.org>2002-05-07 17:23:31 +0000
commit3f7203a3a4d20a4c699475d74467afae579341d3 (patch)
tree381be385bdf7473989c6787bcf162c1e6897dc68 /src
parent9138b9aa3c02ab410717f2576c175c9e23f27734 (diff)
downloadmetacity-3f7203a3a4d20a4c699475d74467afae579341d3.tar.gz
metacity-3f7203a3a4d20a4c699475d74467afae579341d3.tar.bz2
Doh, only update the tmp pointer when the screen matches. Fixes a segfault
2002-05-07 Anders Carlsson <andersca@gnu.org> * src/workspace.c (set_work_area_hint): Doh, only update the tmp pointer when the screen matches. Fixes a segfault when running with multiple screens.
Diffstat (limited to 'src')
-rw-r--r--src/workspace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/workspace.c b/src/workspace.c
index 33d4cbb..ca43b0e 100644
--- a/src/workspace.c
+++ b/src/workspace.c
@@ -355,9 +355,9 @@ set_work_area_hint (MetaScreen *screen)
tmp[1] = area.y;
tmp[2] = area.width;
tmp[3] = area.height;
- }
- tmp += 4;
+ tmp += 4;
+ }
tmp_list = tmp_list->next;
}