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.
This commit is contained in:
parent
9138b9aa3c
commit
3f7203a3a4
2 changed files with 6 additions and 2 deletions
|
@ -1,5 +1,9 @@
|
|||
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.
|
||||
|
||||
* src/display.c: (meta_display_open), (event_callback),
|
||||
(meta_display_update_show_desktop_hint):
|
||||
* src/display.h:
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue