mirror of
https://github.com/brl/mutter.git
synced 2024-11-08 23:16:20 -05:00
handle missing frame, prevents segv with undecorated windows. #83298
2002-05-28 Havoc Pennington <hp@pobox.com> * src/window.c (redraw_icon): handle missing frame, prevents segv with undecorated windows. #83298
This commit is contained in:
parent
0498d55314
commit
6077c26cdf
@ -1,3 +1,8 @@
|
||||
2002-05-28 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* src/window.c (redraw_icon): handle missing frame, prevents segv
|
||||
with undecorated windows. #83298
|
||||
|
||||
2002-05-28 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
Patch from Erwann Chenede for raise_or_lower keybinding
|
||||
|
@ -4624,7 +4624,8 @@ static void
|
||||
redraw_icon (MetaWindow *window)
|
||||
{
|
||||
/* We could probably be smart and just redraw the icon here. */
|
||||
meta_ui_queue_frame_draw (window->screen->ui, window->frame->xwindow);
|
||||
if (window->frame)
|
||||
meta_ui_queue_frame_draw (window->screen->ui, window->frame->xwindow);
|
||||
}
|
||||
|
||||
static GList*
|
||||
|
Loading…
Reference in New Issue
Block a user