mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 09:16:10 -05: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:
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 += 4;
|
||||
}
|
||||
|
||||
tmp_list = tmp_list->next;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user