mirror of
https://github.com/brl/mutter.git
synced 2025-08-04 23:54:40 +00:00
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:

committed by
Anders Carlsson

parent
9138b9aa3c
commit
3f7203a3a4
@@ -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_list = tmp_list->next;
|
||||
}
|
||||
|
Reference in New Issue
Block a user